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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 15 08:46:02 CDT 2017


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

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
  Jenkins2: Approved for Submit



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: merged
Gerrit-Change-Id: I2703f15b4099b4210c68eccf293105d1975c1fc1
Gerrit-Change-Number: 5838
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-commits/attachments/20170615/11fa8b0e/attachment-0001.html>


More information about the asterisk-commits mailing list