[Asterisk-code-review] app voicemail.c: Fix compile error when IMAP enabled. (asterisk[master])

Richard Mudgett asteriskteam at digium.com
Wed Jun 14 12:35:54 CDT 2017


Richard Mudgett has uploaded this change for review. ( https://gerrit.asterisk.org/5840


Change subject: app_voicemail.c: Fix compile error when IMAP enabled.
......................................................................

app_voicemail.c: Fix compile error when IMAP enabled.

Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
---
M apps/app_voicemail.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/40/5840/1

diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 06f4830..1247bde 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -2730,7 +2730,7 @@
 	}
 	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;
 		}
 	}

-- 
To view, visit https://gerrit.asterisk.org/5840
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
Gerrit-Change-Number: 5840
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170614/2649bec2/attachment.html>


More information about the asterisk-code-review mailing list