diff options
author | Jan Holesovsky <kendy@collabora.com> | 2017-03-30 11:21:10 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-03-30 11:22:27 +0200 |
commit | 0d57eacc11e4e4cb03785ae7403bba6746f5edbb (patch) | |
tree | 6296ea66eba19ad27db70613d08c8037b2028aa9 | |
parent | 6d9b3791d791737275392bd569cfeec1b32d8ca6 (diff) |
Avoid extensive warning about a normal situation.2.1-beta1
Change-Id: Ie67a12847afddac087f74e4872744b2b8bb07b1e
-rw-r--r-- | net/Socket.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |