[asterisk-commits] tilghman: branch 1.8 r303860 - in /branches/1.8: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 25 12:55:32 CST 2011


Author: tilghman
Date: Tue Jan 25 12:55:27 2011
New Revision: 303860

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=303860
Log:
Merged revisions 303858 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r303858 | tilghman | 2011-01-25 12:41:26 -0600 (Tue, 25 Jan 2011) | 5 lines
  
  Fix "sip show user <tab>", so that it actually shows results, instead of just completing the last entry.
  
  (closes issue #16675)
  Reported by: pj
........

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

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

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=303860&r1=303859&r2=303860
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Tue Jan 25 12:55:27 2011
@@ -16583,6 +16583,9 @@
 		}
 		ao2_unlock(user);
 		unref_peer(user, "complete sip user");
+		if (result) {
+			break;
+		}
 	}
 	ao2_iterator_destroy(&user_iter);
 	return result;




More information about the asterisk-commits mailing list