[Libreoffice-commits] online.git: net/FakeSocket.cpp

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 7 13:57:44 UTC 2020


 net/FakeSocket.cpp |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit a92e80a58ef4107763e6b5ba4bb95bb9b49c86e8
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Jul 7 12:16:22 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Jul 7 15:57:24 2020 +0200

    There should be no need to notify when fakeSocketRead() completes
    
    Change-Id: I95ba22b553c8e17167d90c1033246a85d8ccb6ef
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98261
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/net/FakeSocket.cpp b/net/FakeSocket.cpp
index cb292a8fb..013a15ce9 100644
--- a/net/FakeSocket.cpp
+++ b/net/FakeSocket.cpp
@@ -571,8 +571,6 @@ ssize_t fakeSocketRead(int fd, void *buf, size_t nbytes)
     else if (pair.buffer[K].size() == 0)
         pair.readable[K] = false;
 
-    theCV.notify_all();
-
     FAKESOCKET_LOG(2, "FakeSocket Read from #" << fd << " got " << result << (result == 1 ? " byte" : " bytes") << flush());
 
     return result;


More information about the Libreoffice-commits mailing list