projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smart plugin: add option to store data using serial number
[collectd.git]
/
src
/
apache.c
diff --git
a/src/apache.c
b/src/apache.c
index
3d25c35
..
2e91a1b
100644
(file)
--- a/
src/apache.c
+++ b/
src/apache.c
@@
-98,7
+98,7
@@
static size_t apache_curl_callback (void *buf, size_t size, size_t nmemb,
return (0);
}
return (0);
}
- if (len
<
= 0)
+ if (len
=
= 0)
return (len);
if ((st->apache_buffer_fill + len) >= st->apache_buffer_size)
return (len);
if ((st->apache_buffer_fill + len) >= st->apache_buffer_size)
@@
-137,7
+137,7
@@
static size_t apache_header_callback (void *buf, size_t size, size_t nmemb,
return (0);
}
return (0);
}
- if (len
<
= 0)
+ if (len
=
= 0)
return (len);
/* look for the Server header */
return (len);
/* look for the Server header */