From 66f4c9e0c08762fb4668792999c6200e9fd78c89 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Mon, 27 Aug 2012 17:31:16 +0000 Subject: Cut out all packet handling to a separate cProtocol descendant git-svn-id: http://mc-server.googlecode.com/svn/trunk@796 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSocketThreads.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/cSocketThreads.h') diff --git a/source/cSocketThreads.h b/source/cSocketThreads.h index c90a4ede3..4f4e4bbe6 100644 --- a/source/cSocketThreads.h +++ b/source/cSocketThreads.h @@ -19,7 +19,7 @@ This means that the socket can be written to several times before finally closin -/// How many clients should one thread handle? (must be less than FD_SETSIZE - 1 for your platform) +/// How many clients should one thread handle? (must be less than FD_SETSIZE for your platform) #define MAX_SLOTS 63 @@ -38,7 +38,7 @@ This means that the socket can be written to several times before finally closin // Check MAX_SLOTS: #if MAX_SLOTS >= FD_SETSIZE - #error "MAX_SLOTS must be less than FD_SETSIZE - 1 for your platform! (otherwise select() won't work)" + #error "MAX_SLOTS must be less than FD_SETSIZE for your platform! (otherwise select() won't work)" #endif -- cgit v1.2.3