aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/network.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/network.c b/src/util/network.c
index 5ff49b1ca..49e50101b 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -560,18 +560,18 @@ GNUNET_NETWORK_socket_send (const struct GNUNET_NETWORK_Handle * desc,
560#ifdef MSG_DONTWAIT 560#ifdef MSG_DONTWAIT
561 flags |= MSG_DONTWAIT; 561 flags |= MSG_DONTWAIT;
562 562
563#endif /* */ 563#endif
564#ifdef MSG_NOSIGNAL 564#ifdef MSG_NOSIGNAL
565 flags |= MSG_NOSIGNAL; 565 flags |= MSG_NOSIGNAL;
566 566
567#endif /* */ 567#endif
568 ret = send (desc->fd, buffer, length, flags); 568 ret = send (desc->fd, buffer, length, flags);
569 569
570#ifdef MINGW 570#ifdef MINGW
571 if (SOCKET_ERROR == ret) 571 if (SOCKET_ERROR == ret)
572 SetErrnoFromWinsockError (WSAGetLastError ()); 572 SetErrnoFromWinsockError (WSAGetLastError ());
573 573
574#endif /* */ 574#endif
575 return ret; 575 return ret;
576} 576}
577 577