aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-29 11:35:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-29 11:35:25 +0000
commit84b4e9ff7c1eee735e2653db24fbd1fd0ab72ab5 (patch)
tree297455725dc94665fc1450653743a2092706f65f /lib/urldata.h
parent677a74fa1b7b50b9aa024dac166603d250613814 (diff)
Fixed the FTP response reader function to properly deal with responses split
up in several chunks when read.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 9b3fcf7dd..6fa65fcdf 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -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 */