diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-06 18:25:44 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-06 18:25:44 +0000 |
commit | 7e9b1de07c7e01040ab7a81612543ac9ab123c35 (patch) | |
tree | d572499fc4a2eae14a564c4cf1d9439ed56d5759 /apps | |
parent | 37af22206f8bb82217cc624eb8ca8f5e9c362f4a (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: http://svn.digium.com/svn/asterisk/trunk@180579 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 2 |
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; |