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