From c6497772771742334464e97e1c9c5a2e53f9ed59 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Tue, 3 Aug 2010 17:25:11 +0000 Subject: [PATCH] Fixing Server.available(). I got rid of the parameterless version of the Client() constructor, so I need to pass in MAX_SOCK_NUM. --- libraries/Ethernet/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Ethernet/Server.cpp b/libraries/Ethernet/Server.cpp index de3102378..d229bf86a 100644 --- a/libraries/Ethernet/Server.cpp +++ b/libraries/Ethernet/Server.cpp @@ -63,7 +63,7 @@ Client Server::available() } } - return Client(); + return Client(MAX_SOCK_NUM); } void Server::write(uint8_t b)