summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2009-03-06 18:25:44 +0000
committerMark Michelson <mmichelson@digium.com>2009-03-06 18:25:44 +0000
commit09df92d48584d967d382f813fdfa46c75bcb0c41 (patch)
treed572499fc4a2eae14a564c4cf1d9439ed56d5759 /apps
parent02de67c2322ed18bd0ecde0eaebc44a960f0cd74 (diff)
Merged revisions 180567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r180567 | mmichelson | 2009-03-06 12:23:09 -0600 (Fri, 06 Mar 2009) | 2 lines Make compilation succeed in dev-mode when IMAP storage is enabled. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@180579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 2388ad4e7..05dae3117 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -1804,7 +1804,7 @@ static int messagecount(const char *context, const char *mailbox, const char *fo
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;