From cd38d1a5c31b43e446d828e64d8e165873cebc39 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Tue, 17 Jul 2012 10:07:30 -0700 Subject: xup: do not set tcp options for unix domain socket --- xup/xup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xup/xup.c b/xup/xup.c index 5d729c6b..f8a9a4f1 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -173,9 +173,9 @@ lib_mod_connect(struct mod* mod) else { mod->sck = g_tcp_socket(); + g_tcp_set_non_blocking(mod->sck); + g_tcp_set_no_delay(mod->sck); } - g_tcp_set_non_blocking(mod->sck); - g_tcp_set_no_delay(mod->sck); mod->server_msg(mod, "connecting...", 0); if (use_uds) { -- cgit v1.2.1