diff options
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); } } |