mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-16 22:26:16 +00:00
Remove unneeded MSG_NOSIGNAL.
This commit is contained in:
@@ -205,7 +205,7 @@ event_read_failed:
|
|||||||
|
|
||||||
void
|
void
|
||||||
SCgiTask::event_write() {
|
SCgiTask::event_write() {
|
||||||
int bytes = ::send(m_fileDesc, m_position, m_buffer_size, MSG_NOSIGNAL);
|
int bytes = ::send(m_fileDesc, m_position, m_buffer_size, 0);
|
||||||
|
|
||||||
if (bytes == -1) {
|
if (bytes == -1) {
|
||||||
if (!(errno == EAGAIN || errno == EINTR))
|
if (!(errno == EAGAIN || errno == EINTR))
|
||||||
|
|||||||
Reference in New Issue
Block a user