X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fnotify_email.c;h=76d48d445825c83834d93095ed35420ce288b7d1;hb=99eb08be924850cf76e3dece205d5cbf9c7d74c7;hp=24c66ec051b965aa5cbfedd228d774430d951c53;hpb=51a4e62d7d0e73d8d5822efaef1e3218b5ad0373;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);