[svn-commits] phsultan: branch 1.4 r120675 - /branches/1.4/res/res_jabber.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 5 11:56:15 CDT 2008


Author: phsultan
Date: Thu Jun  5 11:56:15 2008
New Revision: 120675

URL: http://svn.digium.com/view/asterisk?view=rev&rev=120675
Log:
Ignore appended resource when comparing JIDs.

Modified:
    branches/1.4/res/res_jabber.c

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




More information about the svn-commits mailing list