summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d53e74a)
raw | patch | inline | side by side (parent: d53e74a)
author | Florian Forster <octo@huhu.verplant.org> | |
Mon, 11 Jan 2010 14:45:09 +0000 (15:45 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Mon, 11 Jan 2010 14:45:09 +0000 (15:45 +0100) |
src/curl_xml.c | patch | blob | history |
diff --git a/src/curl_xml.c b/src/curl_xml.c
index d7b80b282352eeb1b95212704307f5af3008cc43..a8dbc1cc0b995b4fb8028062a9a56b0a6f363deb 100644 (file)
--- a/src/curl_xml.c
+++ b/src/curl_xml.c
@@ -216,7 +216,7 @@ static xmlXPathObjectPtr cx_evaluate_xpath (xmlXPathContextPtr xpath_ctx, /* {{{
{
xmlXPathObjectPtr xpath_obj;
- // XXX: When to free this?
+ /* XXX: When to free this? */
xpath_obj = xmlXPathEvalExpression(BAD_CAST expr, xpath_ctx);
if (xpath_obj == NULL)
{
continue;
}
- // ignoring the element if other than textnode/attribute
+ /* ignoring the element if other than textnode/attribute */
if (cx_if_not_text_node(instance_node->nodeTab[0]))
{
WARNING ("curl_xml plugin: "
}
else
{
- /* If instance_prefix and instance_node are NULL , then */
- /* don't set the type_instance */
+ /* If instance_prefix and instance_node are NULL, then
+ * don't set the type_instance */
if (instance_node != NULL)
sstrncpy (vl.type_instance, (char *) xmlNodeGetContent(instance_node->nodeTab[0]),
sizeof (vl.type_instance));
/* free up object */
xmlXPathFreeObject (values_node_obj);
- /* We have reached here which means that */
- /* we have got something to work */
+ /* We have reached here which means that
+ * we have got something to work */
status = 0;
- }
+ } /* for (j = 0; j < xpath->values_len; j++) */
/* submit the values */
if (vl.values)