mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
merge
This commit is contained in:
commit
1133297ae0
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
IF(WIN32 OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
||||
IF(WIN32)
|
||||
# Handlersocket does not compile on Windows, compiles but does
|
||||
# not start on FreeBSD.
|
||||
RETURN()
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue