[asterisk-commits] seanbright: trunk r114246 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 18 08:38:07 CDT 2008


Author: seanbright
Date: Fri Apr 18 08:38:07 2008
New Revision: 114246

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

........
r114245 | seanbright | 2008-04-18 09:33:32 -0400 (Fri, 18 Apr 2008) | 1 line

Only complete the SIP channel name once for 'sip show channel <channel>'
........

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=114246&r1=114245&r2=114246
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Apr 18 08:38:07 2008
@@ -14037,6 +14037,10 @@
 	char *c = NULL;
 	int wordlen = strlen(word);
 	struct ao2_iterator i;
+
+	if (pos != 3) {
+		return NULL;
+	}
 
 	i = ao2_iterator_init(dialogs, 0);
 	




More information about the asterisk-commits mailing list