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

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


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


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/39/5839/1

diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 5450ffc..63703f0 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -2732,7 +2732,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/5839
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
Gerrit-Change-Number: 5839
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/ec427f93/attachment.html>


More information about the asterisk-code-review mailing list