mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
allow handlersocket on FreeBSD, fix getaddrinfo problem
This commit is contained in:
@@ -35,7 +35,7 @@ struct auto_addrinfo : private noncopyable {
|
||||
int resolve(const char *node, const char *service, int flags = 0,
|
||||
int family = AF_UNSPEC, int socktype = SOCK_STREAM, int protocol = 0) {
|
||||
reset();
|
||||
addrinfo hints;
|
||||
addrinfo hints = { };
|
||||
hints.ai_flags = flags;
|
||||
hints.ai_family = family;
|
||||
hints.ai_socktype = socktype;
|
||||
|
||||
Reference in New Issue
Block a user