[svn-commits] mmichelson: branch 1.4 r71796 - /branches/1.4/apps/app_voicemail.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jun 26 10:47:32 CDT 2007
Author: mmichelson
Date: Tue Jun 26 10:47:31 2007
New Revision: 71796
URL: http://svn.digium.com/view/asterisk?view=rev&rev=71796
Log:
Fixing bug where the authuser was mistakenly pulled from the mailbox string instead
of the IMAP user.
(closes issue 10054, reported and patched by jaroth)
Modified:
branches/1.4/apps/app_voicemail.c
Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=71796&r1=71795&r2=71796
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Tue Jun 26 10:47:31 2007
@@ -8689,12 +8689,12 @@
if (!mailbox)
return NULL;
- start = strstr(mailbox,"user=");
+ start = strstr(mailbox,"/user=");
if (!start)
return NULL;
ast_mutex_lock(&imaptemp_lock);
- ast_copy_string(imaptemp, start+5, sizeof(imaptemp));
+ ast_copy_string(imaptemp, start+6, sizeof(imaptemp));
ast_mutex_unlock(&imaptemp_lock);
quote = strchr(imaptemp,'\"');
More information about the svn-commits
mailing list