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

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


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


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/38/5838/1

diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index f62c7d8..d8011ae 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/5838
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
Gerrit-Change-Number: 5838
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/b98500ba/attachment.html>


More information about the asterisk-code-review mailing list