fix: complete issues #201-#206 remediation #208
@@ -121,8 +121,6 @@ bool send_n_data(int file_descriptor, const void* data, size_t data_size) {
|
|||||||
log_message(LOG_LEVEL_ERROR, "Send timeout or poll failure");
|
log_message(LOG_LEVEL_ERROR, "Send timeout or poll failure");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (poll_result == 0)
|
|
||||||
return false;
|
|
||||||
if (poll_result < 0)
|
if (poll_result < 0)
|
||||||
continue;
|
continue;
|
||||||
if (pfd.revents & (POLLERR | POLLNVAL))
|
if (pfd.revents & (POLLERR | POLLNVAL))
|
||||||
|
|||||||
Reference in New Issue
Block a user