[asterisk-commits] mmichelson: branch group/v14_colp r154020 - /team/group/v14_colp/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 3 14:24:10 CST 2008


Author: mmichelson
Date: Mon Nov  3 14:24:09 2008
New Revision: 154020

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154020
Log:
The logic on this strncasecmp call was reversed.

AST-132


Modified:
    team/group/v14_colp/channels/chan_sip.c

Modified: team/group/v14_colp/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/v14_colp/channels/chan_sip.c?view=diff&rev=154020&r1=154019&r2=154020
==============================================================================
--- team/group/v14_colp/channels/chan_sip.c (original)
+++ team/group/v14_colp/channels/chan_sip.c Mon Nov  3 14:24:09 2008
@@ -9120,7 +9120,7 @@
 	if (!end)
 		return 0;
 	*end++ = '\0';
-	if (strncasecmp(start, "anonymous at anonymous.invalid", 27)) {
+	if (!strncasecmp(start, "anonymous at anonymous.invalid", 27)) {
 		callingpres = AST_PRES_PROHIB_USER_NUMBER_NOT_SCREENED;
 		/*XXX Assume no change in cid_num. Perhaps it should be 
 		 * blanked?




More information about the asterisk-commits mailing list