[Libreoffice-commits] online.git: net/Socket.hpp

Jan Holesovsky kendy at collabora.com
Thu Mar 30 09:22:31 UTC 2017


 net/Socket.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d335b92ce771e311e8c0faaeaf112208bea75f6
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Mar 30 11:21:10 2017 +0200

    Avoid extensive warning about a normal situation.
    
    Change-Id: Ie67a12847afddac087f74e4872744b2b8bb07b1e

diff --git a/net/Socket.hpp b/net/Socket.hpp
index 8bddac16..111b32df 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);


More information about the Libreoffice-commits mailing list