[asterisk-commits] mmichelson: branch 1.4 r180567 - /branches/1.4/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 6 12:23:15 CST 2009
Author: mmichelson
Date: Fri Mar 6 12:23:09 2009
New Revision: 180567
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=180567
Log:
Make compilation succeed in dev-mode when IMAP storage is enabled.
Modified:
branches/1.4/apps/app_voicemail.c
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=180567&r1=180566&r2=180567
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Fri Mar 6 12:23:09 2009
@@ -1229,7 +1229,7 @@
ast_mutex_lock(&vms_p->lock);
pgm = mail_newsearchpgm ();
hdr = mail_newsearchheader ("X-Asterisk-VM-Extension", (char *)(!ast_strlen_zero(vmu->imapvmshareid) ? vmu->imapvmshareid : mailbox));
- hdr->next = mail_newsearchheader("X-Asterisk-VM-Context", S_OR(context, "default"));
+ hdr->next = mail_newsearchheader("X-Asterisk-VM-Context", (char *) S_OR(context, "default"));
pgm->header = hdr;
if (fold != 1) {
pgm->unseen = 1;
More information about the asterisk-commits
mailing list