Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
57c2ea18
Commit
57c2ea18
authored
May 05, 2012
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow handlersocket on FreeBSD, fix getaddrinfo problem
parent
aa8f0606
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
plugin/handler_socket/CMakeLists.txt
plugin/handler_socket/CMakeLists.txt
+1
-1
plugin/handler_socket/libhsclient/auto_addrinfo.hpp
plugin/handler_socket/libhsclient/auto_addrinfo.hpp
+1
-1
No files found.
plugin/handler_socket/CMakeLists.txt
View file @
57c2ea18
IF
(
WIN32
OR CMAKE_SYSTEM_NAME MATCHES
"FreeBSD"
)
IF
(
WIN32
)
# Handlersocket does not compile on Windows, compiles but does
# not start on FreeBSD.
RETURN
()
...
...
plugin/handler_socket/libhsclient/auto_addrinfo.hpp
View file @
57c2ea18
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment