[asterisk-commits] phsultan: branch 1.6.0 r120677 - in /branches/1.6.0: ./ res/res_jabber.c

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


Author: phsultan
Date: Thu Jun  5 12:17:28 2008
New Revision: 120677

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

................
r120676 | phsultan | 2008-06-05 19:02:39 +0200 (Thu, 05 Jun 2008) | 10 lines

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:
    branches/1.6.0/   (props changed)
    branches/1.6.0/res/res_jabber.c

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

Modified: branches/1.6.0/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/res/res_jabber.c?view=diff&rev=120677&r1=120676&r2=120677
==============================================================================
--- branches/1.6.0/res/res_jabber.c (original)
+++ branches/1.6.0/res/res_jabber.c Thu Jun  5 12:17:28 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