Ensure that right close is called

This commit is contained in:
Johan Wikman 2018-01-24 09:31:22 +02:00
parent c96d27a495
commit ed81757c04

View File

@ -159,7 +159,7 @@ template <> void Closer<struct addrinfo*>::close(struct addrinfo* ai)
template <> void Closer<int>::close(int fd)
{
close(fd);
::close(fd);
}
}