[svn-commits] file: trunk r86662 - in /trunk: ./ pbx/pbx_dundi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Oct 22 09:07:14 CDT 2007


Author: file
Date: Mon Oct 22 09:07:14 2007
New Revision: 86662

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

........
r86661 | file | 2007-10-22 11:05:26 -0300 (Mon, 22 Oct 2007) | 6 lines

Fix tab completion for dundi show peer.
(closes issue #11041)
Reported by: jsmith
Patches:
      asterisk-dundicomplete.diff.txt uploaded by jamesgolovich (license 176)

........

Modified:
    trunk/   (props changed)
    trunk/pbx/pbx_dundi.c

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

Modified: trunk/pbx/pbx_dundi.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_dundi.c?view=diff&rev=86662&r1=86661&r2=86662
==============================================================================
--- trunk/pbx/pbx_dundi.c (original)
+++ trunk/pbx/pbx_dundi.c Mon Oct 22 09:07:14 2007
@@ -2377,8 +2377,10 @@
 	len = strlen(word);
 	AST_LIST_TRAVERSE(&peers, p, list) {
 		const char *s = dundi_eid_to_str(eid_str, sizeof(eid_str), &p->eid);
-		if (!strncasecmp(word, s, len) && ++which > state)
+		if (!strncasecmp(word, s, len) && ++which > state) {
 			ret = ast_strdup(s);
+			break;
+		}
 	}
 	AST_LIST_UNLOCK(&peers);
 	return ret;




More information about the svn-commits mailing list