small bugfix
This commit is contained in:
parent
84221ac794
commit
65fd0c9c7a
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ void print_xml(void *id, char *name, unsigned int len)
|
||||||
s = xmlGetString(xid);
|
s = xmlGetString(xid);
|
||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
|
name[len] = 0;
|
||||||
printf("%s = %s\n", name, s);
|
printf("%s = %s\n", name, s);
|
||||||
free(s);
|
free(s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue