projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curl plugin: correct error message
[collectd.git]
/
src
/
bind.c
diff --git
a/src/bind.c
b/src/bind.c
index
a546ff9
..
7d26208
100644
(file)
--- a/
src/bind.c
+++ b/
src/bind.c
@@
-277,14
+277,14
@@
static size_t bind_curl_callback (void *buf, size_t size, /* {{{ */
{
size_t len = size * nmemb;
{
size_t len = size * nmemb;
- if (len
<
= 0)
+ if (len
=
= 0)
return (len);
if ((bind_buffer_fill + len) >= bind_buffer_size)
{
char *temp;
return (len);
if ((bind_buffer_fill + len) >= bind_buffer_size)
{
char *temp;
- temp = realloc(bind_buffer, bind_buffer_fill + len + 1);
+ temp = realloc
(bind_buffer, bind_buffer_fill + len + 1);
if (temp == NULL)
{
ERROR ("bind plugin: realloc failed.");
if (temp == NULL)
{
ERROR ("bind plugin: realloc failed.");