More minor cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Matthew Fredrickson
2005-07-22 18:28:19 +00:00
parent 0577cdd35f
commit 6eb0ec533e

View File

@@ -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);