X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fnotify_email.c;h=c77b2d19e1d6618c5d1bd431d9cba75c6085572e;hb=826293bf3acfdcee6632f5d8f0b6be013f2cebab;hp=6843987cbf34b0f4f986846f051e954090b95643;hpb=43aca8ed8b22a7a5a14f8c740948d6ce06efbc95;p=collectd.git diff --git a/src/notify_email.c b/src/notify_email.c index 6843987c..c77b2d19 100644 --- 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);