Commit 57690595 576905957f1423b0bd98eea1749cd232c9bb0796 by Sergey Poznyakoff

(_sieve_action_log): Use vasprintf.

1 parent 7b911202
......@@ -234,7 +234,7 @@ _sieve_action_log (void *user_name,
if (fmt && strlen (fmt))
{
char *diag = NULL;
asprintf (&diag, fmt, ap);
vasprintf (&diag, fmt, ap);
syslog (LOG_NOTICE, "(user %s) %s: %s", (char*) user_name, text, diag);
free (diag);
}
......