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:
3c7a80a
)
today's FTP response check fix
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 8 Feb 2001 13:52:38 +0000
(13:52 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 8 Feb 2001 13:52:38 +0000
(13:52 +0000)
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index
a8ef166
..
ed6f849
100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-282,7
+282,7
@@
int Curl_GetFTPResponse(int sockfd, char *buf,
*/
if(CURLE_OK != Curl_read(conn, sockfd, ptr, 1, &keepon))
keepon = FALSE;
- else if(keepon < 0)
+ else if(keepon <
=
0)
error = SELECT_ERROR;
else if ((*ptr == '\n') || (*ptr == '\r'))
keepon = FALSE;