projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
varnish plugin: Add informative warnings to the config handling.
[collectd.git]
/
src
/
curl_xml.c
diff --git
a/src/curl_xml.c
b/src/curl_xml.c
index
21e0925
..
e0e4a62
100644
(file)
--- a/
src/curl_xml.c
+++ b/
src/curl_xml.c
@@
-116,7
+116,7
@@
static size_t cx_curl_callback (void *buf, /* {{{ */
return (0);
}
return (0);
}
-
if (len == 0)
+ if (len == 0)
return (len);
if ((db->buffer_fill + len) >= db->buffer_size)
return (len);
if ((db->buffer_fill + len) >= db->buffer_size)
@@
-641,7
+641,7
@@
static int cx_curl_perform (cx_t *db, CURL *curl) /* {{{ */
return (-1);
}
if (db->stats != NULL)
return (-1);
}
if (db->stats != NULL)
- curl_stats_dispatch (db->stats, db->curl, cx_host (db), "curl_xml", db->instance
, NULL
);
+ curl_stats_dispatch (db->stats, db->curl, cx_host (db), "curl_xml", db->instance);
curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &url);
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &rc);
curl_easy_getinfo(curl, CURLINFO_EFFECTIVE_URL, &url);
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &rc);