mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
More minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user