diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-02-07 09:49:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-02-07 09:49:06 +0000 |
commit | 61e2a8108b604b55bc88e741ad6378827c926ade (patch) | |
tree | 6ffe39c3cde43dec11e68befcff74f3e38612fc9 /lib | |
parent | abb14de7e05505d4159e6ffbb75f6135d21b3f6e (diff) |
7.6.1-pre3
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -282,6 +282,8 @@ int Curl_GetFTPResponse(int sockfd, char *buf, */ if(CURLE_OK != Curl_read(conn, sockfd, ptr, 1, &keepon)) keepon = FALSE; + else if(keepon < 0) + error = SELECT_ERROR; else if ((*ptr == '\n') || (*ptr == '\r')) keepon = FALSE; } |