From: Richard Mudgett Date: Wed, 14 Jun 2017 17:34:06 +0000 (-0500) Subject: app_voicemail.c: Fix compile error when IMAP enabled. X-Git-Tag: 15.0.0-beta1~87^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8b0b61a245eab59dafe05a7475e2c3b69d8d6d5;p=thirdparty%2Fasterisk.git app_voicemail.c: Fix compile error when IMAP enabled. Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 06f4830fae..1247bde959 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2730,7 +2730,7 @@ static int imap_store_file(const char *dir, const char *mailboxuser, const char } if (fread(buf, 1, len, p) != len) { if (ferror(p)) { - ast_log(LOG_ERROR, "Error while reading mail file: %s\n"); + ast_log(LOG_ERROR, "Error while reading mail file: %s\n", tmp); return -1; } }