]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Formatting fixes
authorOlle Johansson <oej@edvina.net>
Wed, 14 Jun 2006 11:40:31 +0000 (11:40 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 14 Jun 2006 11:40:31 +0000 (11:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 49b8aac8795552c510065d288008f03a490c22b6..be92be00096f9475014d8d81a006a047a64c770c 100644 (file)
@@ -3887,7 +3887,7 @@ static struct ast_frame *sip_read(struct ast_channel *ast)
 {
        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 @@ static struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr_in *si
                        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;