From 0d57eacc11e4e4cb03785ae7403bba6746f5edbb Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 30 Mar 2017 11:21:10 +0200 Subject: Avoid extensive warning about a normal situation. Change-Id: Ie67a12847afddac087f74e4872744b2b8bb07b1e --- net/Socket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/Socket.hpp b/net/Socket.hpp index 8bddac164..111b32df5 100644 --- a/net/Socket.hpp +++ b/net/Socket.hpp @@ -792,7 +792,7 @@ protected: // log.dump("", &_outBuffer[0], len); } - if (len <= 0) + if (len <= 0 && errno != EAGAIN && errno != EWOULDBLOCK) LOG_SYS("#" << getFD() << ": Wrote outgoing data " << len << " bytes."); } while (len < 0 && errno == EINTR); -- cgit v1.2.3