mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
[libesl] Coverity 1024721 Unchecked return value from library
This commit is contained in:
parent
e48b83fbbf
commit
f5509a59e8
@ -1066,7 +1066,10 @@ ESL_DECLARE(esl_status_t) esl_connect_timeout(esl_handle_t *handle, const char *
|
||||
}
|
||||
}
|
||||
#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
|
||||
rval = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user