diff options
author | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-05 16:51:27 -0400 |
---|---|---|
committer | bpc2003 <wpesfriendnva@gmail.com> | 2025-05-05 16:51:27 -0400 |
commit | b6858640ec6ca17dc746863d1e92cb2452253d7d (patch) | |
tree | 28eed53fbdbdaf0b946175905ffadaaad0760949 /src/include/xml/encode.c | |
parent | 0102df793c02c94eb48a16370610e0e28a5c3361 (diff) |
Get started on XML decoder
Diffstat (limited to 'src/include/xml/encode.c')
-rw-r--r-- | src/include/xml/encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/xml/encode.c b/src/include/xml/encode.c index b8c090d..9e76c69 100644 --- a/src/include/xml/encode.c +++ b/src/include/xml/encode.c @@ -19,7 +19,7 @@ char *encode(map_t *map, int len) for (int j = 0; j < map[i].n_attrs; ++j) { check(&str, &slen, &used, snprintf(buf, 64, " %s='%s'", - map[i].attrs[j].tag, (char *)map[i].attrs[j].payload)); + map[i].attrs[j].id, map[i].attrs[j].value)); strcat(str, buf); } } |