[asterisk-commits] tilghman: branch 1.6.2 r187391 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 9 12:23:20 CDT 2009


Author: tilghman
Date: Thu Apr  9 12:23:14 2009
New Revision: 187391

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=187391
Log:
Merged revisions 187381 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r187381 | tilghman | 2009-04-09 12:20:49 -0500 (Thu, 09 Apr 2009) | 4 lines
  
  Allow '/' in username portion of register; this is a regression.
  (closes issue #14668)
   Reported by: Netview
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=187391&r1=187390&r2=187391
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Thu Apr  9 12:23:14 2009
@@ -6974,7 +6974,7 @@
 	expire = strchr(buf, '~');
 	if (expire)
 		*expire++ = '\0';
-	callback = strchr(buf, '/');
+	callback = strrchr(buf, '/');
 	if (callback)
 		*callback++ = '\0';
 	if (ast_strlen_zero(callback))




More information about the asterisk-commits mailing list