We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39103da commit fdec9eeCopy full SHA for fdec9ee
src/EthernetClient.cpp
@@ -83,7 +83,7 @@ size_t EthernetClient::write(uint8_t b)
83
size_t EthernetClient::write(const uint8_t *buf, size_t size)
84
{
85
if (_sockindex >= MAX_SOCK_NUM) return 0;
86
- if (Ethernet.socketSend(_sockindex, buf, size)) return size;
+ if (size=Ethernet.socketSend(_sockindex, buf, size)) return size;
87
setWriteError();
88
return 0;
89
}
0 commit comments