Skip to content

Commit 6832d8a

Browse files
committed
return 0 from Client.available() when Client is invalid (same as stock Ethernet-lib)
1 parent 2632230 commit 6832d8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UIPClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ UIPClient::available()
212212
{
213213
if (*this)
214214
return _available(data);
215-
return -1;
215+
return 0;
216216
}
217217

218218
int

0 commit comments

Comments
 (0)