summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rwxr-xr-xsrc/net/tcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 2df17b9..1c3f6c0 100755
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -260,6 +260,7 @@ int disableNagle(sock_tcp_t *p)
(char *) &flag, /* the cast is historical cruft */
sizeof(int)); /* length of option value */
+#if 0
if( result < 0 )
{
printf("disabled nagle error\n");
@@ -268,6 +269,7 @@ int disableNagle(sock_tcp_t *p)
{
printf("disabled nagle OK\n");
}
+#endif
return result;
}