From adea0f631fb5160669b1cd85bc13d46d07533054 Mon Sep 17 00:00:00 2001 From: Nishi Date: Tue, 8 Oct 2024 11:00:48 +0000 Subject: [PATCH] revert and add git-svn-id: file:///raid/svn-personal/tewi/trunk@275 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Server/server.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Server/server.c b/Server/server.c index f6dc0ac..e1f903b 100644 --- a/Server/server.c +++ b/Server/server.c @@ -157,10 +157,7 @@ int tw_server_init(void) { cm_log("Server", "setsockopt failure (reuseaddr)"); return 1; } -#ifndef __PPU__ -#ifdef __minix - if(setsockopt(sock, 0, TCP_NODELAY, (void*)&yes, sizeof(yes)) < 0) { -#else +#if !defined(__PPU__) && !defined(__minix) if(setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void*)&yes, sizeof(yes)) < 0) { #endif close_socket(sock); -- 2.43.0