Fix compile error.

This commit is contained in:
Jan Vidar Krey 2009-10-09 00:11:09 +02:00
parent 2910c571b0
commit 4919c8f2f9

View File

@ -79,6 +79,7 @@ size_t net_get_max_sockets()
return limits.rlim_max; return limits.rlim_max;
} }
LOG_ERROR("getrlimit() failed"); LOG_ERROR("getrlimit() failed");
return 1024;
#else #else
#ifdef WIN32 #ifdef WIN32
LOG_WARN("Windows system, limited to 4096 connections."); LOG_WARN("Windows system, limited to 4096 connections.");