[Asterisk-cvs] asterisk/channels chan_sip.c,1.545,1.546

citats at lists.digium.com citats at lists.digium.com
Thu Oct 28 11:50:23 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv15732/channels

Modified Files:
	chan_sip.c 
Log Message:
Cleanup formatting in bug 2741 patch

Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.545
retrieving revision 1.546
diff -u -d -r1.545 -r1.546
--- chan_sip.c	27 Oct 2004 22:01:33 -0000	1.545
+++ chan_sip.c	28 Oct 2004 15:53:36 -0000	1.546
@@ -6946,11 +6946,11 @@
 	return -1;
 }
 
-static void ast_quiet_chan(struct ast_channel *chan) {
-	if(chan && chan->_state == AST_STATE_UP) {
-		if(chan->generatordata)
+static void ast_quiet_chan(struct ast_channel *chan) 
+{
+	if (chan && chan->_state == AST_STATE_UP) {
+		if (chan->generatordata)
 			ast_deactivate_generator(chan);
-		
 	}
 }
 
@@ -6980,13 +6980,13 @@
 		peera = chana;
 		peerb = chanb;
 		peerc = bridgea;
-	} else if(bridgeb) {
+	} else if (bridgeb) {
 		peera = chanb;
 		peerb = chana;
 		peerc = bridgeb;
 	}
 	
-	if(peera && peerb && peerc) {
+	if (peera && peerb && peerc) {
 		ast_quiet_chan(peera);
 		ast_quiet_chan(peerb);
 		ast_quiet_chan(peerc);
@@ -7007,7 +7007,7 @@
 		
 		if (ast_channel_masquerade(peerb, peerc)) {
 			ast_log(LOG_WARNING, "Failed to masquerade %s into %s\n", peerb->name, peerc->name);
-            res = -1;
+			res = -1;
 		}
 		return res;
 	} else {




More information about the svn-commits mailing list