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

George Joseph asteriskteam at digium.com
Thu Jun 15 09:06:24 CDT 2017


George Joseph has submitted this change and it was merged. ( 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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved; Approved for Submit



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: merged
Gerrit-Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
Gerrit-Change-Number: 5840
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170615/1899e2ba/attachment.html>


More information about the asterisk-code-review mailing list