diff options
author | jsorg71 <jsorg71> | 2010-02-22 21:17:31 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2010-02-22 21:17:31 +0000 |
commit | 530344462e57676bd77635c2e037b5757f53c58a (patch) | |
tree | 61500b5a861dd557e4b155332ec9182bcae8f040 /common/os_calls.c | |
parent | 00ec87700b7ecdcfe52b6740c086019e12581a60 (diff) | |
download | xrdp-proprietary-530344462e57676bd77635c2e037b5757f53c58a.tar.gz xrdp-proprietary-530344462e57676bd77635c2e037b5757f53c58a.zip |
fixes for hppa
Diffstat (limited to 'common/os_calls.c')
-rw-r--r-- | common/os_calls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index f530d002..ceb581d4 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1,5 +1,5 @@ /* - Copyright (c) 2004-2009 Jay Sorg + Copyright (c) 2004-2010 Jay Sorg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -492,7 +492,7 @@ g_tcp_last_error_would_block(int sck) #if defined(_WIN32) return WSAGetLastError() == WSAEWOULDBLOCK; #else - return (errno == EWOULDBLOCK) || (errno == EINPROGRESS); + return (errno == EWOULDBLOCK) || (errno == EAGAIN) || (errno == EINPROGRESS); #endif } |