projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0577cdd
)
More minor cleanups
author
Matthew Fredrickson
<creslin@digium.com>
Fri, 22 Jul 2005 18:28:19 +0000
(18:28 +0000)
committer
Matthew Fredrickson
<creslin@digium.com>
Fri, 22 Jul 2005 18:28:19 +0000
(18:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6183
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
e040fc3
..
b8425eb
100755
(executable)
--- 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);