X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnotify_email.c;h=76d48d445825c83834d93095ed35420ce288b7d1;hb=9ee4ca88407137ee5d9588c18f9edea69ee2ace7;hp=24c66ec051b965aa5cbfedd228d774430d951c53;hpb=b61a03b05c1f4040a6599334b65141aa3bd134f5;p=collectd.git diff --git a/src/notify_email.c b/src/notify_email.c index 24c66ec0..76d48d44 100644 --- a/src/notify_email.c +++ b/src/notify_email.c @@ -293,7 +293,6 @@ static int notify_email_notification (const notification_t *n, /* Initiate a connection to the SMTP server and transfer the message. */ if (!smtp_start_session (session)) { - char buf[MAXSTRING]; ERROR ("notify_email plugin: SMTP server problem: %s", smtp_strerror (smtp_errno (), buf, sizeof buf)); pthread_mutex_unlock (&session_lock);