Subversion Repositories Tewi

Rev

Rev 293 | Rev 302 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 293 Rev 296
Line 1... Line 1...
1
/* $Id: server.c 293 2024-10-09 10:50:45Z nishi $ */
1
/* $Id: server.c 296 2024-10-09 11:13:35Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 975... Line 975...
975
			ret = select(FD_SETSIZE, &fdset, NULL, NULL, &tv);
975
			ret = select(FD_SETSIZE, &fdset, NULL, NULL, &tv);
976
#endif
976
#endif
977
#endif
977
#endif
978
		if(ret == -1) {
978
		if(ret == -1) {
979
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
979
#if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(__BORLANDC__) && !defined(__WATCOMC__)
-
 
980
			if(errno == EINTR) continue;
980
			cm_log("Server", "Select failure: %s", strerror(errno));
981
			cm_log("Server", "Select failure: %s", strerror(errno));
981
#endif
982
#endif
982
			break;
983
			break;
983
		} else if(ret == 0) {
984
		} else if(ret == 0) {
984
#ifdef SERVICE
985
#ifdef SERVICE