mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 08:13:22 +00:00
Make compilation succeed in dev-mode when IMAP storage is enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@180567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1229,7 +1229,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;
|
||||
|
Reference in New Issue
Block a user