[asterisk-commits] phsultan: trunk r120676 - in /trunk: ./ res/res_jabber.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 5 12:02:39 CDT 2008


Author: phsultan
Date: Thu Jun  5 12:02:39 2008
New Revision: 120676

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

........
r120675 | phsultan | 2008-06-05 18:56:15 +0200 (Thu, 05 Jun 2008) | 2 lines

Ignore appended resource when comparing JIDs.

........

Modified:
    trunk/   (props changed)
    trunk/res/res_jabber.c

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

Modified: trunk/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_jabber.c?view=diff&rev=120676&r1=120675&r2=120676
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Thu Jun  5 12:02:39 2008
@@ -2902,7 +2902,7 @@
 				/* strip resource for comparison */
 				aux = strsep(&aux, "/");
 			}
-			if (!strcasecmp(aux, name)) {
+			if (!strncasecmp(aux, name, strlen(aux))) {
 				client = iterator;
 			}				
 		});




More information about the asterisk-commits mailing list