From 4919c8f2f975f1ef15829a60462f7323cd81f9a0 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 9 Oct 2009 00:11:09 +0200 Subject: [PATCH] Fix compile error. --- src/network/network.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/network.c b/src/network/network.c index 6a90541..614e5da 100644 --- a/src/network/network.c +++ b/src/network/network.c @@ -79,6 +79,7 @@ size_t net_get_max_sockets() return limits.rlim_max; } LOG_ERROR("getrlimit() failed"); + return 1024; #else #ifdef WIN32 LOG_WARN("Windows system, limited to 4096 connections.");