In fakeSocketConnect() log also the fd the corresponding accept returned

This commit is contained in:
Tor Lillqvist 2018-10-19 02:00:46 +03:00
parent b7a42bd9d1
commit c6c6e8cc46

View file

@ -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;
}