mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Update tcp_sink.h
This commit is contained in:
parent
e9d0b424d5
commit
574563d711
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user