Additional debug message printing

This commit is contained in:
Malcolm Robb 2013-09-26 19:25:14 +01:00
parent 2c28d9fe2f
commit 19ce5a29b1
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -193,6 +193,7 @@ int main(int argc, char **argv) {
// the first Windows handle is usually in the 0x54 (84 decimal) region.
if (fd >= MODES_NET_MAX_FD) { // Max number of clients reached
fprintf(stderr, "Max number of clients exceeded : fd = 0x%X\n", fd);
close(fd);
exit(1);
}