[Asterisk-cvs] asterisk/channels chan_zap.c,1.171.2.16,1.171.2.17

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


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

Modified Files:
      Tag: v1-0_stable
	chan_zap.c 
Log Message:
Eliminate superfluous return NULL


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.171.2.16
retrieving revision 1.171.2.17
diff -u -d -r1.171.2.16 -r1.171.2.17
--- chan_zap.c	15 Mar 2004 09:14:36 -0000	1.171.2.16
+++ chan_zap.c	22 Mar 2004 19:47:13 -0000	1.171.2.17
@@ -3002,7 +3002,6 @@
 						if (res < 0) {
 						  ast_log(LOG_WARNING, "Unable to initiate dialing on trunk channel %d\n", p->channel);
 						  p->dop.dialstr[0] = '\0';
-						  return NULL;
 						} else {
 						  ast_log(LOG_DEBUG, "Sent FXO deferred digit string: %s\n", p->dop.dialstr);
 						  p->subs[index].f.frametype = AST_FRAME_NULL;




More information about the svn-commits mailing list