projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
curl_xml plugin: Check for a curl_easy_perform() error first
[collectd.git]
/
src
/
bind.c
diff --git
a/src/bind.c
b/src/bind.c
index
32e9d04
..
19d95d4
100644
(file)
--- a/
src/bind.c
+++ b/
src/bind.c
@@
-1405,7
+1405,7
@@
static int bind_read (void) /* {{{ */
}
bind_buffer_fill = 0;
- if (curl_easy_perform (curl) !=
0
)
+ if (curl_easy_perform (curl) !=
CURLE_OK
)
{
ERROR ("bind plugin: curl_easy_perform failed: %s",
bind_curl_error);