diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-12-20 12:52:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-12-20 20:30:02 +0100 |
commit | dfdac61522c7d660f884ec7a663dedb2d69d16a8 (patch) | |
tree | 18fb71b132893a5bc84324002830bddb56b70309 /lib/urldata.h | |
parent | c834213ad52c52431e9ca597862dc81839cabe84 (diff) | |
download | curl-dfdac61522c7d660f884ec7a663dedb2d69d16a8.tar.gz |
non-blocking active FTP: cleanup multi state usage
Backpedaled out the funny double-change of state in the multi state
machine by adding a new argument to the do_more() function to signal
completion. This way it can remain in the DO_MORE state properly until
done. Long term, the entire DO_MORE logic should be moved into the FTP
code and be hidden from the multi code as the logic is only used for
FTP.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index f7c35e367..822412d05 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -512,7 +512,7 @@ struct Curl_async { /* These function pointer types are here only to allow easier typecasting within the source when we need to cast between data pointers (such as NULL) and function pointers. */ -typedef CURLcode (*Curl_do_more_func)(struct connectdata *); +typedef CURLcode (*Curl_do_more_func)(struct connectdata *, bool *); typedef CURLcode (*Curl_done_func)(struct connectdata *, CURLcode, bool); |