tcp: remove extraneous parenthesis.

This commit is contained in:
Jérôme Duval 2015-06-11 15:47:06 +02:00
parent d25e6414e4
commit ea54368ece

View File

@ -796,7 +796,7 @@ TCPEndpoint::SendData(net_buffer *buffer)
return EDESTADDRREQ;
if (!is_writable(fState) && !is_establishing(fState)) {
// we only send signals when called from userland
if (gStackModule->is_syscall() && ((flags & MSG_NOSIGNAL) == 0))
if (gStackModule->is_syscall() && (flags & MSG_NOSIGNAL) == 0)
send_signal(find_thread(NULL), SIGPIPE);
return EPIPE;
}