projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c174680
)
Andrés García patched. It now checks for EWOULDBLOCK properly on windows
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Jan 2002 08:03:54 +0000
(08:03 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 18 Jan 2002 08:03:54 +0000
(08:03 +0000)
boxes.
lib/sendf.c
patch
|
blob
|
history
diff --git
a/lib/sendf.c
b/lib/sendf.c
index
ddc61c6
..
9ea49e5
100644
(file)
--- a/
lib/sendf.c
+++ b/
lib/sendf.c
@@
-227,7
+227,7
@@
CURLcode Curl_write(struct connectdata *conn, int sockfd,
}
if(-1 == bytes_written) {
#ifdef WIN32
- if(EWOULDBLOCK == GetLastError())
+ if(
WSA
EWOULDBLOCK == GetLastError())
#else
if(EWOULDBLOCK == errno)
#endif
@@
-339,7
+339,7
@@
int Curl_read(struct connectdata *conn,
if(-1 == nread) {
#ifdef WIN32
- if(EWOULDBLOCK == GetLastError())
+ if(
WSA
EWOULDBLOCK == GetLastError())
#else
if(EWOULDBLOCK == errno)
#endif