diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-09 13:06:40 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-09 13:06:40 +0000 |
commit | 6a2e21ec8cbaf7c719902e06953d9dbec629ad4f (patch) | |
tree | c09552b516d0d6dadc999ef446843ba32db4f1e1 /lib/dict.c | |
parent | 120f17ce04794f55603a1edcd8ec8f89a09fe4ca (diff) | |
download | curl-6a2e21ec8cbaf7c719902e06953d9dbec629ad4f.tar.gz |
FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.
Diffstat (limited to 'lib/dict.c')
-rw-r--r-- | lib/dict.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/dict.c b/lib/dict.c index ef82e0b85..1c687292f 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -85,7 +85,7 @@ #define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> -CURLcode Curl_dict(struct connectdata *conn) +CURLcode Curl_dict(struct connectdata *conn, bool *done) { char *word; char *ppath; @@ -100,6 +100,8 @@ CURLcode Curl_dict(struct connectdata *conn) char *path = conn->path; curl_off_t *bytecount = &conn->bytecount; + *done = TRUE; /* unconditionally */ + if(conn->bits.user_passwd) { /* AUTH is missing */ } |