summary refs log tree commit diff stats
path: root/slirp/tcp_input.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-07 23:27:35 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-10-07 23:27:35 +0000
commit02d2c54cd3e1a65ce4eaf1555b7f73d0a50eaec4 (patch)
tree52c827b911f8ce0cc99998198dc0fef5abee3c97 /slirp/tcp_input.c
parent890fa6bebbb540b9761aafc3fe37b87e26578346 (diff)
downloadfocaccia-qemu-02d2c54cd3e1a65ce4eaf1555b7f73d0a50eaec4.tar.gz
focaccia-qemu-02d2c54cd3e1a65ce4eaf1555b7f73d0a50eaec4.zip
windows fixes (Gregory Alexander)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1102 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/tcp_input.c')
-rw-r--r--slirp/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c
index 42f02b3e65..8729d76a7f 100644
--- a/slirp/tcp_input.c
+++ b/slirp/tcp_input.c
@@ -681,7 +681,7 @@ findso:
 	    goto cont_input;
 	  }
 	  
-	  if(tcp_fconnect(so) == -1 && errno != EINPROGRESS) {
+	  if((tcp_fconnect(so) == -1) && (errno != EINPROGRESS) && (errno != EWOULDBLOCK)) {
 	    u_char code=ICMP_UNREACH_NET;
 	    DEBUG_MISC((dfd," tcp fconnect errno = %d-%s\n",
 			errno,strerror(errno)));