Fixed the FTP response reader function to properly deal with responses split

up in several chunks when read.
This commit is contained in:
Daniel Stenberg
2005-03-29 11:35:25 +00:00
parent 677a74fa1b
commit 84b4e9ff7c
2 changed files with 30 additions and 18 deletions

View File

@@ -327,7 +327,11 @@ struct FTP {
bool cwddone; /* if it has been determined that the proper CWD combo
already has been done */
char *prevpath; /* conn->path from the previous transfer */
size_t nread_resp; /* number of bytes currently read of a server response */
char *linestart_resp; /* line start pointer for the FTP server response
reader function */
int count1; /* general purpose counter for the state machine */
int count2; /* general purpose counter for the state machine */
int count3; /* general purpose counter for the state machine */