diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-06 18:26:55 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-03-06 18:26:55 +0000 |
commit | 6f9ed5d5599b03444f4791ec454bfa580d09f316 (patch) | |
tree | d7d5697c5f1370f179aeed02654bcac37969cf5b /apps | |
parent | e48e540de9f4acd60df243934223d11b6401271f (diff) |
Merged revisions 180579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r180579 | mmichelson | 2009-03-06 12:25:44 -0600 (Fri, 06 Mar 2009) | 9 lines
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/branches/1.6.1@180585 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 be6a844cb..cad14d068 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1678,7 +1678,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; |