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

Tor Lillqvist tml at collabora.com
Thu Jul 19 08:41:37 UTC 2018


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

New commits:
commit ff31f2dba19766b77a668a450d73745152544b96
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu Jul 19 11:39:32 2018 +0300

    Avoid potential confusion by not using the term "packet" in a comment
    
    It confused at least me for a while into pondering whether the code
    thinks TCP is packet-oriented.
    
    Change-Id: I143fc7821abd6b4023d551cdcb42a00e1613e466

diff --git a/net/WebSocketHandler.hpp b/net/WebSocketHandler.hpp
index d6933d173..6ef1460e0 100644
--- a/net/WebSocketHandler.hpp
+++ b/net/WebSocketHandler.hpp
@@ -299,7 +299,7 @@ public:
         else
         {
             while (handleOneIncomingMessage(socket))
-                ; // can have multiple msgs in one recv'd packet.
+                ; // might have multiple messages in the accumulated buffer.
         }
     }
 


More information about the Libreoffice-commits mailing list