diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-22 18:28:19 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-22 18:28:19 +0000 |
commit | 9d65b77466754abb3d83b70af4d67e9d4b7441dc (patch) | |
tree | e93a42846198f4032fe961853e83557ca81e74fb /channels | |
parent | 60890de31772b1ae8344a8f8592e82db7d7f5bf7 (diff) |
More minor cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6183 f38db490-d61c-443f-a65b-d21fe96a405b
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); |