mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-30 05:56:12 +00:00
[libesl] Coverity 1024721 Unchecked return value from library
This commit is contained in:
parent
15d4b633e3
commit
e184897c51
@ -1066,7 +1066,10 @@ ESL_DECLARE(esl_status_t) esl_connect_timeout(esl_handle_t *handle, const char *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
fcntl(handle->sock, F_SETFL, fd_flags);
|
if (fcntl(handle->sock, F_SETFL, fd_flags)) {
|
||||||
|
snprintf(handle->err, sizeof(handle->err), "Socket Connection Error");
|
||||||
|
goto fail;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
rval = 0;
|
rval = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user