projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
write_riemann: use the complain mechanism to rate limit connection failure logs
[collectd.git]
/
src
/
write_http.c
diff --git
a/src/write_http.c
b/src/write_http.c
index
14ce0ec
..
c817749
100644
(file)
--- a/
src/write_http.c
+++ b/
src/write_http.c
@@
-183,7
+183,7
@@
static int wh_callback_init (wh_callback_t *cb) /* {{{ */
if (cb->pass != NULL)
credentials_size += strlen (cb->pass);
- cb->credentials =
(char *)
malloc (credentials_size);
+ cb->credentials = malloc (credentials_size);
if (cb->credentials == NULL)
{
ERROR ("curl plugin: malloc failed.");