[asterisk-commits] mmichelson: branch group/CCSS r236895 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 30 14:45:19 CST 2009


Author: mmichelson
Date: Wed Dec 30 14:45:16 2009
New Revision: 236895

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=236895
Log:
Order of operations got me. Now I've gotten him back.

*evil laugh*


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

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=236895&r1=236894&r2=236895
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Wed Dec 30 14:45:16 2009
@@ -12988,7 +12988,7 @@
 		snprintf(uri, sizeof(uri) - 1, "cc-uri: %s", agent_pvt->notify_uri);
 	}
 	add_header_contentLength(&req, strlen(state_str) + 
-			state == CC_READY ? strlen(uri) : 0);
+			(state == CC_READY ? strlen(uri) : 0));
 	add_line(&req, state_str);
 	if (state == CC_READY) {
 		add_line(&req, uri);




More information about the asterisk-commits mailing list