diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-01-16 22:22:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-01-16 22:22:10 +0000 |
commit | 385e612fa5b7663fc2bc815677b8c27bec2f0fe4 (patch) | |
tree | bc211e48b4e8c57bb90090ab78c885ecab0a5496 /lib/telnet.c | |
parent | 1886388791fc658b55cdd45b3062556fde7a1375 (diff) | |
download | curl-385e612fa5b7663fc2bc815677b8c27bec2f0fe4.tar.gz |
- Armel Asselin improved libcurl to behave a lot better when an easy handle
doing an FTP transfer is removed from a multi handle before completion. The
fix also fixed the "alive counter" to be correct on "premature removal" for
all protocols.
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 14ff11d2c..97d22b788 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2007, 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 @@ -1073,10 +1073,11 @@ void telrcv(struct connectdata *conn, } } -CURLcode Curl_telnet_done(struct connectdata *conn, CURLcode status) +CURLcode Curl_telnet_done(struct connectdata *conn, CURLcode status, bool premature) { struct TELNET *tn = (struct TELNET *)conn->data->reqdata.proto.telnet; (void)status; /* unused */ + (void)premature; /* not used */ curl_slist_free_all(tn->telnet_vars); |