summaryrefslogtreecommitdiff
path: root/sftp-glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp-glob.c')
-rw-r--r--sftp-glob.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-glob.c b/sftp-glob.c
index aec6d2734..79dca00f1 100644
--- a/sftp-glob.c
+++ b/sftp-glob.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: sftp-glob.c,v 1.1 2001/03/13 22:42:54 djm Exp $"); 26RCSID("$OpenBSD: sftp-glob.c,v 1.2 2001/03/16 08:16:18 djm Exp $");
27 27
28#include "ssh.h" 28#include "ssh.h"
29#include "buffer.h" 29#include "buffer.h"
@@ -119,7 +119,7 @@ int fudge_lstat(const char *path, struct stat *st)
119{ 119{
120 Attrib *a; 120 Attrib *a;
121 121
122 if (!(a = do_lstat(cur.fd_in, cur.fd_out, (char*)path))) 122 if (!(a = do_lstat(cur.fd_in, cur.fd_out, (char*)path, 0)))
123 return(-1); 123 return(-1);
124 124
125 attrib_to_stat(a, st); 125 attrib_to_stat(a, st);
@@ -131,7 +131,7 @@ int fudge_stat(const char *path, struct stat *st)
131{ 131{
132 Attrib *a; 132 Attrib *a;
133 133
134 if (!(a = do_stat(cur.fd_in, cur.fd_out, (char*)path))) 134 if (!(a = do_stat(cur.fd_in, cur.fd_out, (char*)path, 0)))
135 return(-1); 135 return(-1);
136 136
137 attrib_to_stat(a, st); 137 attrib_to_stat(a, st);