diff options
Diffstat (limited to 'lib/ssh.c')
-rw-r--r-- | lib/ssh.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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 @@ -568,9 +568,11 @@ CURLcode Curl_scp_do(struct connectdata *conn, bool *done) return res; } -CURLcode Curl_scp_done(struct connectdata *conn, CURLcode status) +CURLcode Curl_scp_done(struct connectdata *conn, CURLcode status, + bool premature) { struct SSHPROTO *scp = conn->data->reqdata.proto.ssh; + (void)premature; /* not used */ Curl_safefree(scp->path); scp->path = NULL; @@ -891,9 +893,11 @@ CURLcode Curl_sftp_do(struct connectdata *conn, bool *done) return res; } -CURLcode Curl_sftp_done(struct connectdata *conn, CURLcode status) +CURLcode Curl_sftp_done(struct connectdata *conn, CURLcode status, + bool premature) { struct SSHPROTO *sftp = conn->data->reqdata.proto.ssh; + (void)premature; /* not used */ Curl_safefree(sftp->path); sftp->path = NULL; |