[asterisk-commits] mmichelson: trunk r71797 - in /trunk: ./ apps/app_voicemail.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 26 10:50:11 CDT 2007


Author: mmichelson
Date: Tue Jun 26 10:50:11 2007
New Revision: 71797

URL: http://svn.digium.com/view/asterisk?view=rev&rev=71797
Log:
Merged revisions 71796 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71796 | mmichelson | 2007-06-26 10:47:31 -0500 (Tue, 26 Jun 2007) | 5 lines

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:
    trunk/   (props changed)
    trunk/apps/app_voicemail.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=71797&r1=71796&r2=71797
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Tue Jun 26 10:50:11 2007
@@ -9217,10 +9217,10 @@
 	if (ast_strlen_zero(mailbox))
 		return NULL;
 
-	if (!(start = strstr(mailbox, "user=")))
+	if (!(start = strstr(mailbox, "/user=")))
 		return NULL;
 
-	ast_copy_string(buf, start+5, len);
+	ast_copy_string(buf, start+6, len);
 
 	if (!(quote = strchr(buf, '\"'))) {
 		if (!(eol_pnt = strchr(buf, '/')))




More information about the asterisk-commits mailing list