From c6c6e8cc467d9d37cb8d043ae00ff5b664ba87fd Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 19 Oct 2018 02:00:46 +0300 Subject: [PATCH] In fakeSocketConnect() log also the fd the corresponding accept returned --- net/FakeSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/FakeSocket.cpp b/net/FakeSocket.cpp index 639b12db0..34b32f41b 100644 --- a/net/FakeSocket.cpp +++ b/net/FakeSocket.cpp @@ -366,7 +366,7 @@ int fakeSocketConnect(int fd1, int fd2) assert(pair1.fd[1] == pair1.fd[0] + 1); - loggingBuffer << "FakeSocket Connect #" << fd1 << " to #" << fd2 << flush(); + loggingBuffer << "FakeSocket Connect #" << fd1 << " to #" << fd2 << ": #" << pair1.fd[1] << flush(); return 0; }