]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sftp.c
Fix a typoed end-of-string check in testbn.
[PuTTY.git] / sftp.c
diff --git a/sftp.c b/sftp.c
index 3357876c20f2eaebfe032dd4fd5eaa752cc84992..5685c79ea7a68c2b02945c54cef15721efc72a8a 100644 (file)
--- a/sftp.c
+++ b/sftp.c
@@ -658,11 +658,12 @@ struct sftp_request *fxp_close_send(struct fxp_handle *handle)
     return req;
 }
 
-void fxp_close_recv(struct sftp_packet *pktin, struct sftp_request *req)
+int fxp_close_recv(struct sftp_packet *pktin, struct sftp_request *req)
 {
     sfree(req);
     fxp_got_status(pktin);
     sftp_pkt_free(pktin);
+    return fxp_errtype == SSH_FX_OK;
 }
 
 struct sftp_request *fxp_mkdir_send(const char *path)