mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-02 19:29:31 +00:00
fix ret val
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@319 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
e6a9f5f9ca
commit
e569e45f96
@ -707,7 +707,7 @@ zap_status_t zt_init(zap_io_interface_t **zio)
|
||||
|
||||
if ((CONTROL_FD = open(ctlpath, O_RDWR)) < 0) {
|
||||
zap_log(ZAP_LOG_ERROR, "Cannot open control device\n");
|
||||
return 0;
|
||||
return ZAP_FAIL;
|
||||
}
|
||||
|
||||
zt_globals.codec_ms = 20;
|
||||
|
Loading…
x
Reference in New Issue
Block a user