mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 22:57:08 +00:00
- Fix from code review, if EINPROGRESS not defined chain if statement differently.
git-svn-id: file:///svn/unbound/trunk@2636 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
d7172c55ed
commit
57199f80c9
@ -1,3 +1,7 @@
|
|||||||
|
28 February 2012: Wouter
|
||||||
|
- Fix from code review, if EINPROGRESS not defined chain if statement
|
||||||
|
differently.
|
||||||
|
|
||||||
27 February 2012: Wouter
|
27 February 2012: Wouter
|
||||||
- Fix bug#434: on windows check registry for config file location
|
- Fix bug#434: on windows check registry for config file location
|
||||||
for unbound-control.exe, and unbound-checkconf.exe.
|
for unbound-control.exe, and unbound-checkconf.exe.
|
||||||
|
@ -1195,8 +1195,9 @@ comm_point_tcp_handle_write(int fd, struct comm_point* c)
|
|||||||
#if defined(EINPROGRESS) && defined(EWOULDBLOCK)
|
#if defined(EINPROGRESS) && defined(EWOULDBLOCK)
|
||||||
if(error == EINPROGRESS || error == EWOULDBLOCK)
|
if(error == EINPROGRESS || error == EWOULDBLOCK)
|
||||||
return 1; /* try again later */
|
return 1; /* try again later */
|
||||||
|
else
|
||||||
#endif
|
#endif
|
||||||
else if(error != 0 && verbosity < 2)
|
if(error != 0 && verbosity < 2)
|
||||||
return 0; /* silence lots of chatter in the logs */
|
return 0; /* silence lots of chatter in the logs */
|
||||||
else if(error != 0) {
|
else if(error != 0) {
|
||||||
log_err("tcp connect: %s", strerror(error));
|
log_err("tcp connect: %s", strerror(error));
|
||||||
|
Loading…
Reference in New Issue
Block a user