Ensure that right close is called
This commit is contained in:
@ -159,7 +159,7 @@ template <> void Closer<struct addrinfo*>::close(struct addrinfo* ai)
|
|||||||
|
|
||||||
template <> void Closer<int>::close(int fd)
|
template <> void Closer<int>::close(int fd)
|
||||||
{
|
{
|
||||||
close(fd);
|
::close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user