diff options
author | Matthew Fredrickson <creslin@digium.com> | 2005-07-22 18:28:19 +0000 |
---|---|---|
committer | Matthew Fredrickson <creslin@digium.com> | 2005-07-22 18:28:19 +0000 |
commit | 6eb0ec533e16fda1adf382c4016123b17352f070 (patch) | |
tree | e93a42846198f4032fe961853e83557ca81e74fb /channels | |
parent | 0577cdd35f43d6afc436344be2fdc54380734824 (diff) |
More minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index e040fc3c4..b8425eb59 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -10528,8 +10528,7 @@ static int setup_zap(int reload) 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); |