projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add format attribute to varargs functions
[collectd.git]
/
src
/
notify_email.c
diff --git
a/src/notify_email.c
b/src/notify_email.c
index
6843987
..
c77b2d1
100644
(file)
--- a/
src/notify_email.c
+++ b/
src/notify_email.c
@@
-176,7
+176,7
@@
static int notify_email_config (const char *key, const char *value)
{
char **tmp;
- tmp =
(char **) realloc ((void *)
recipients, (recipients_len + 1) * sizeof (char *));
+ tmp =
realloc (
recipients, (recipients_len + 1) * sizeof (char *));
if (tmp == NULL) {
ERROR ("notify_email: realloc failed.");
return (-1);