Skip to content

Commit f82d28e

Browse files
committed
Fixing Server.available().
I got rid of the parameterless version of the Client() constructor, so I need to pass in MAX_SOCK_NUM.
1 parent d82a571 commit f82d28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Client Server::available()
6363
}
6464
}
6565

66-
return Client();
66+
return Client(MAX_SOCK_NUM);
6767
}
6868

6969
void Server::write(uint8_t b)

0 commit comments

Comments
 (0)