[Asterisk-cvs] asterisk/channels chan_zap.c,1.193,1.194

markster at lists.digium.com markster at lists.digium.com
Mon Mar 22 14:51:16 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Fix superfluous return NULL


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -d -r1.193 -r1.194
--- chan_zap.c	16 Mar 2004 23:42:41 -0000	1.193
+++ chan_zap.c	22 Mar 2004 19:47:25 -0000	1.194
@@ -6491,7 +6491,6 @@
 							if (res < 0) {
 								ast_log(LOG_WARNING, "Unable to initiate dialing on trunk channel %d\n", pri->pvt[chan]->channel);
 								pri->pvt[chan]->dop.dialstr[0] = '\0';
-								return NULL;
 							} else 
 								ast_log(LOG_DEBUG, "Sent deferred digit string: %s\n", pri->pvt[chan]->dop.dialstr);
 							pri->pvt[chan]->dop.dialstr[0] = '\0';
@@ -6576,7 +6575,7 @@
 							switch(e->hangup.cause) {
 							case PRI_CAUSE_USER_BUSY:
 								pri->pvt[chan]->subs[SUB_REAL].needbusy =1;
-							break;
+								break;
 							case PRI_CAUSE_CALL_REJECTED:
 							case PRI_CAUSE_NETWORK_OUT_OF_ORDER:
 							case PRI_CAUSE_NORMAL_CIRCUIT_CONGESTION:




More information about the svn-commits mailing list