diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-12 12:06:39 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-12 12:06:39 +0000 |
commit | d60c22572b49cde9b839a59510580df079d2d5e2 (patch) | |
tree | c67a83d1a6216ec2be4f39117f1934650a67989e /lib/telnet.c | |
parent | 1d7ce36791f32039383236e4940994c41cb2a0bf (diff) | |
download | curl-d60c22572b49cde9b839a59510580df079d2d5e2.tar.gz |
Curl_done() and the protocol-specific conn->curl_done() functions now all
take a CURLcode as a second argument, that is non-zero when Curl_done()
is called after an error was returned from Curl_do() (or similar).
Diffstat (limited to 'lib/telnet.c')
-rw-r--r-- | lib/telnet.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/telnet.c b/lib/telnet.c index 0408d7320..fb4ba5e00 100644 --- a/lib/telnet.c +++ b/lib/telnet.c @@ -1063,9 +1063,11 @@ void telrcv(struct connectdata *conn, } } -CURLcode Curl_telnet_done(struct connectdata *conn) +CURLcode Curl_telnet_done(struct connectdata *conn, CURLcode status) { struct TELNET *tn = (struct TELNET *)conn->proto.telnet; + (void)status; /* unused */ + curl_slist_free_all(tn->telnet_vars); free(conn->proto.telnet); |