[asterisk-commits] may: branch may/ooh323_ipv6_direct_rtp r347865 - /team/may/ooh323_ipv6_direct...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 9 12:59:08 CST 2011


Author: may
Date: Fri Dec  9 12:59:04 2011
New Revision: 347865

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=347865
Log:
coding issues again

Modified:
    team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c

Modified: team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c?view=diff&rev=347865&r1=347864&r2=347865
==============================================================================
--- team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c (original)
+++ team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c Fri Dec  9 12:59:04 2011
@@ -1243,8 +1243,9 @@
 		res = 0;
 	}
 
-	if (gH323Debug)
+	if (gH323Debug) {
 		ast_verb(0, "----- ooh323_indicate %d on call %s\n", condition, callToken);
+	}
 	 
    	ast_mutex_lock(&p->lock);
 	switch (condition) {
@@ -1396,8 +1397,9 @@
 
    	ast_mutex_unlock(&p->lock);
 
-	if (gH323Debug)
+	if (gH323Debug) {
 		ast_verb(0, "++++  ooh323_indicate %d on %s is %d\n", condition, callToken, res);
+	}
 
    	free(callToken);
 	return res;
@@ -4297,8 +4299,9 @@
 	callToken = (p->callToken ? strdup(p->callToken) : NULL);
 
 	if (!callToken) {
-		if (gH323Debug)
+		if (gH323Debug) {
 			ast_verb(0, "	set_rtp_peer - No callToken\n");
+		}
 		ast_mutex_unlock(&p->lock);
 		return -1;
 	}




More information about the asterisk-commits mailing list