[asterisk-commits] dvossel: branch dvossel/sip_uri_encode_decode r242976 - /team/dvossel/sip_uri...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 25 16:05:28 CST 2010


Author: dvossel
Date: Mon Jan 25 16:05:24 2010
New Revision: 242976

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242976
Log:
fixes minor reviewboard comments

Modified:
    team/dvossel/sip_uri_encode_decode/channels/chan_sip.c

Modified: team/dvossel/sip_uri_encode_decode/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/sip_uri_encode_decode/channels/chan_sip.c?view=diff&rev=242976&r1=242975&r2=242976
==============================================================================
--- team/dvossel/sip_uri_encode_decode/channels/chan_sip.c (original)
+++ team/dvossel/sip_uri_encode_decode/channels/chan_sip.c Mon Jan 25 16:05:24 2010
@@ -1225,7 +1225,7 @@
 
 /*!< use this macro when ast_uri_decode is dependent on pedantic checking to be on. */
 #define SIP_PEDANTIC_DECODE(str)	\
-	if (!ast_strlen_zero(str) && (sip_cfg.pedanticsipchecking)) {	\
+	if (sip_cfg.pedanticsipchecking && !ast_strlen_zero(str)) {	\
 		ast_uri_decode(str);	\
 	}	\
 
@@ -14594,7 +14594,7 @@
 			}
 
 			*output++ = *input;
-			outputsize--;;
+			outputsize--;
 		}
 
 		/* if this is successful, input should be at the ending quote */




More information about the asterisk-commits mailing list