summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9c9ac11)
raw | patch | inline | side by side (parent: 9c9ac11)
author | Florian Forster <octo@huhu.verplant.org> | |
Mon, 11 Jan 2010 14:44:14 +0000 (15:44 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 11 Jan 2010 14:44:14 +0000 (15:44 +0100) |
src/curl_xml.c | patch | blob | history |
diff --git a/src/curl_xml.c b/src/curl_xml.c
index 589d96f087918a01637879f2b81126f55f46c883..d7b80b282352eeb1b95212704307f5af3008cc43 100644 (file)
--- a/src/curl_xml.c
+++ b/src/curl_xml.c
if (instance_node != NULL)
sstrncpy (vl.type_instance, (char *) xmlNodeGetContent(instance_node->nodeTab[0]),
sizeof (vl.type_instance));
+ else
+ vl.type_instance[0] = 0;
}
/* free up object */