Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
belle-sip
Commits
580af25d
Commit
580af25d
authored
Sep 21, 2016
by
Simon Morlat
Browse files
fix dns.c for windows as well, and remove .dirstamp file archived by mistake
parent
eb28acdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/dns.c
src/dns.c
+3
-1
src/transports/.dirstamp
src/transports/.dirstamp
+0
-0
No files found.
src/dns.c
View file @
580af25d
...
...
@@ -340,6 +340,7 @@ int dns_v_api(void) {
#define DNS_ETIMEDOUT WSAETIMEDOUT
#define DNS_ECONNREFUSED WSAECONNREFUSED
#define DNS_ENETUNREACH WSAENETUNREACH
#define DNS_EHOSTUNREACH WSAEHOSTUNREACH
#define dns_syerr() ((int)GetLastError())
#define dns_soerr() ((int)WSAGetLastError())
...
...
@@ -355,6 +356,7 @@ int dns_v_api(void) {
#define DNS_ETIMEDOUT ETIMEDOUT
#define DNS_ECONNREFUSED ECONNREFUSED
#define DNS_ENETUNREACH ENETUNREACH
#define DNS_EHOSTUNREACH EHOSTUNREACH
#define dns_syerr() errno
#define dns_soerr() errno
...
...
@@ -7686,7 +7688,7 @@ exec:
if
(
error
==
DNS_ENETUNREACH
||
error
==
DNS_ECONNREFUSED
||
error
==
EINVAL
||
error
==
EHOSTUNREACH
)
{
/* maybe even more case*/
||
error
==
DNS_
EHOSTUNREACH
)
{
/* maybe even more case*/
dgoto
(
R
->
sp
,
DNS_R_FOREACH_A
);
}
else
goto
error
;
}
...
...
src/transports/.dirstamp
deleted
100644 → 0
View file @
eb28acdc
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