More minor cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Matthew Fredrickson 20 years ago
parent 0577cdd35f
commit 6eb0ec533e

@ -10528,8 +10528,7 @@ static int setup_zap(int reload)
res = ioctl(ctlfd, ZT_SET_DIALPARAMS, &dps); res = ioctl(ctlfd, ZT_SET_DIALPARAMS, &dps);
if (res < 0) { if (res < 0) {
ast_log(LOG_ERROR, "Invalid tone duration: %d ms\n", toneduration); ast_log(LOG_ERROR, "Invalid tone duration: %d ms\n", toneduration);
destroy_zt_pvt(&tmp); return -1;
return NULL;
} }
} }
close(ctlfd); close(ctlfd);

Loading…
Cancel
Save