Unverified Commit 574563d7 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update tcp_sink.h

parent e9d0b424
...@@ -106,9 +106,9 @@ private: ...@@ -106,9 +106,9 @@ private:
} }
else else
{ {
socket_rv = -1;
last_errno = errno; last_errno = errno;
::close(socket_rv); ::close(socket_rv);
socket_rv = -1;
} }
} }
::freeaddrinfo(addrinfo_result); ::freeaddrinfo(addrinfo_result);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment