Skip to content

Commit d31d6f2

Browse files
committed
fix return value
1 parent e4c187b commit d31d6f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/ESP8266WiFi/src/include/ClientContext.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ class ClientContext
299299
bool wait_until_sent(int max_wait_ms = WIFICLIENT_MAX_FLUSH_WAIT_MS)
300300
{
301301
if (!_pcb)
302-
return;
302+
return true;
303+
303304
tcp_output(_pcb);
304305

305306
// https://github.com/esp8266/Arduino/pull/3967#pullrequestreview-83451496

0 commit comments

Comments
 (0)