projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d53e74a
)
curl_xml plugin: Change C++-style comments into C-style comments.
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
d7b80b2
..
a8dbc1c
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;
{
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)
{
xpath_obj = xmlXPathEvalExpression(BAD_CAST expr, xpath_ctx);
if (xpath_obj == NULL)
{
@@
-327,7
+327,7
@@
static int cx_submit_xpath_values (char *plugin_instance, /* {{{ */
continue;
}
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: "
if (cx_if_not_text_node(instance_node->nodeTab[0]))
{
WARNING ("curl_xml plugin: "
@@
-411,8
+411,8
@@
static int cx_submit_xpath_values (char *plugin_instance, /* {{{ */
}
else
{
}
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));
if (instance_node != NULL)
sstrncpy (vl.type_instance, (char *) xmlNodeGetContent(instance_node->nodeTab[0]),
sizeof (vl.type_instance));
@@
-423,10
+423,10
@@
static int cx_submit_xpath_values (char *plugin_instance, /* {{{ */
/* free up object */
xmlXPathFreeObject (values_node_obj);
/* 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;
status = 0;
- }
+ }
/* for (j = 0; j < xpath->values_len; j++) */
/* submit the values */
if (vl.values)
/* submit the values */
if (vl.values)