Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Aaron Thompson
BIND
Commits
e3076c4c
Commit
e3076c4c
authored
Apr 15, 2020
by
Ondřej Surý
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align the irs_getnameinfo() declaration and definition on Windows
parent
b6c2012d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lib/irs/getnameinfo.c
lib/irs/getnameinfo.c
+6
-0
No files found.
lib/irs/getnameinfo.c
View file @
e3076c4c
...
...
@@ -137,9 +137,15 @@ static struct afd {
goto cleanup; \
} while (0)
#ifdef _WIN32
int
getnameinfo
(
const
struct
sockaddr
*
sa
,
socklen_t
salen
,
char
*
host
,
DWORD
hostlen
,
char
*
serv
,
DWORD
servlen
,
int
flags
)
{
#else
int
getnameinfo
(
const
struct
sockaddr
*
sa
,
socklen_t
salen
,
char
*
host
,
socklen_t
hostlen
,
char
*
serv
,
socklen_t
servlen
,
int
flags
)
{
#endif
struct
afd
*
afd
=
NULL
;
struct
servent
*
sp
;
unsigned
short
port
=
0
;
...
...
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