summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-12-12 14:43:55 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-12-12 14:43:55 +0000
commit576905957f1423b0bd98eea1749cd232c9bb0796 (patch)
tree9a3d0af4944b0cf3b4fc1aca0ef6a0e5e00517cd
parent7b9112029e568981f1dedeee35cce33775dbaf56 (diff)
downloadmailutils-576905957f1423b0bd98eea1749cd232c9bb0796.tar.gz
mailutils-576905957f1423b0bd98eea1749cd232c9bb0796.tar.bz2
(_sieve_action_log): Use vasprintf.
-rw-r--r--mail.local/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail.local/main.c b/mail.local/main.c
index 66545df9f..e5c1f511d 100644
--- a/mail.local/main.c
+++ b/mail.local/main.c
@@ -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);
}

Return to:

Send suggestions and report system problems to the System administrator.