diff options
Diffstat (limited to 'sftp-client.c')
-rw-r--r-- | sftp-client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-client.c b/sftp-client.c index 98ed2ba00..254ef6f70 100644 --- a/sftp-client.c +++ b/sftp-client.c | |||
@@ -28,7 +28,7 @@ | |||
28 | /* XXX: copy between two remote sites */ | 28 | /* XXX: copy between two remote sites */ |
29 | 29 | ||
30 | #include "includes.h" | 30 | #include "includes.h" |
31 | RCSID("$OpenBSD: sftp-client.c,v 1.29 2002/04/01 22:02:16 markus Exp $"); | 31 | RCSID("$OpenBSD: sftp-client.c,v 1.30 2002/04/01 22:07:17 markus Exp $"); |
32 | 32 | ||
33 | #if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) | 33 | #if defined(HAVE_SYS_QUEUE_H) && !defined(HAVE_BOGUS_SYS_QUEUE_H) |
34 | #include <sys/queue.h> | 34 | #include <sys/queue.h> |
@@ -512,8 +512,8 @@ do_lstat(struct sftp_conn *conn, char *path, int quiet) | |||
512 | if (quiet) | 512 | if (quiet) |
513 | debug("Server version does not support lstat operation"); | 513 | debug("Server version does not support lstat operation"); |
514 | else | 514 | else |
515 | error("Server version does not support lstat operation"); | 515 | log("Server version does not support lstat operation"); |
516 | return(NULL); | 516 | return(do_stat(conn, path, quiet)); |
517 | } | 517 | } |
518 | 518 | ||
519 | id = conn->msg_id++; | 519 | id = conn->msg_id++; |