Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv5887/channels
Modified Files:
chan_zap.c
Log Message:
More minor cleanups
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.480
retrieving revision 1.481
diff -u -d -r1.480 -r1.481
--- chan_zap.c 22 Jul 2005 18:07:53 -0000 1.480
+++ chan_zap.c 22 Jul 2005 18:28:19 -0000 1.481
@@ -10528,8 +10528,7 @@
res = ioctl(ctlfd, ZT_SET_DIALPARAMS,
&dps);
if (res < 0) {
ast_log(LOG_ERROR, "Invalid
tone duration: %d ms\n", toneduration);
- destroy_zt_pvt(&tmp);
- return NULL;
+ return -1;
}
}
close(ctlfd);
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs