1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

Fixed wrong behaviour of EthernetClient::flush().

Fixes #1576
This commit is contained in:
Cristian Maglie
2013-09-23 15:46:51 +02:00
parent db640e08cd
commit 88def54082
5 changed files with 15 additions and 2 deletions

View File

@ -120,8 +120,7 @@ int EthernetClient::peek() {
}
void EthernetClient::flush() {
while (available())
read();
::flush(_sock);
}
void EthernetClient::stop() {