]> andersk Git - openssh.git/commitdiff
- (bal) Minor correction to sftp-client.c I made. Should return 'status'
authormouring <mouring>
Sat, 10 Feb 2001 21:53:40 +0000 (21:53 +0000)
committermouring <mouring>
Sat, 10 Feb 2001 21:53:40 +0000 (21:53 +0000)
   instead of '0'  (from the OpenBSD tree)

ChangeLog
sftp-client.c

index c37cc8a0da38ae626373e6a0165dcc7143921375..6da4da2bf9f670a86768a13d3429f0445aa0c6aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,6 +21,8 @@
    - danh@cvs.openbsd.org 2001/02/10 15:14:11
      [scp.c]
      fix memory leak; ok markus@
+ - (bal) Minor correction to sftp-client.c I made.  Should return 'status'
+   instead of '0'  (from the OpenBSD tree)
 
 20010210
  - (djm) Sync sftp and scp stuff from OpenBSD:
index b4ee847da781ff1cf9e025179ee3cd62917cd373..8338dbc9f7109ff999789059c88732a52a6aee23 100644 (file)
@@ -29,7 +29,7 @@
 /* XXX: copy between two remote sites */
 
 #include "includes.h"
-RCSID("$OpenBSD: sftp-client.c,v 1.8 2001/02/08 17:11:23 stevesk Exp $");
+RCSID("$OpenBSD: sftp-client.c,v 1.9 2001/02/10 00:41:46 djm Exp $");
 
 #include "ssh.h"
 #include "buffer.h"
@@ -331,7 +331,7 @@ do_ls(int fd_in, int fd_out, char *path)
                                error("Couldn't read directory: %s",
                                    fx2txt(status));
                                do_close(fd_in, fd_out, handle, handle_len);
-                               return(0);
+                               return(status);
                        }
                } else if (type != SSH2_FXP_NAME)
                        fatal("Expected SSH2_FXP_NAME(%d) packet, got %d",
This page took 0.07513 seconds and 5 git commands to generate.