[asterisk-commits] trunk r34065 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 14 04:40:31 MST 2006


Author: oej
Date: Wed Jun 14 06:40:31 2006
New Revision: 34065

URL: http://svn.digium.com/view/asterisk?rev=34065&view=rev
Log:
Formatting fixes

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=34065&r1=34064&r2=34065&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Jun 14 06:40:31 2006
@@ -3887,7 +3887,7 @@
 {
 	struct ast_frame *fr;
 	struct sip_pvt *p = ast->tech_pvt;
-	int faxdetected = 0;
+	int faxdetected = FALSE;
 
 	ast_mutex_lock(&p->lock);
 	fr = sip_rtp_read(ast, p, &faxdetected);
@@ -4024,9 +4024,8 @@
 			ast_rtp_settos(p->vrtp, global_tos_video);
 			ast_rtp_setdtmf(p->vrtp, 0);
 		}
-		if (p->udptl) {
+		if (p->udptl)
 			ast_udptl_settos(p->udptl, global_tos_audio);
-		}
 		p->rtptimeout = global_rtptimeout;
 		p->rtpholdtimeout = global_rtpholdtimeout;
 		p->rtpkeepalive = global_rtpkeepalive;



More information about the asterisk-commits mailing list