diff options
Diffstat (limited to 'sftp-glob.c')
-rw-r--r-- | sftp-glob.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sftp-glob.c b/sftp-glob.c index 1234074c4..2deb0eb49 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" |
26 | RCSID("$OpenBSD: sftp-glob.c,v 1.10 2002/02/13 00:59:23 djm Exp $"); | 26 | RCSID("$OpenBSD: sftp-glob.c,v 1.11 2002/06/30 21:59:45 deraadt Exp $"); |
27 | 27 | ||
28 | #include "buffer.h" | 28 | #include "buffer.h" |
29 | #include "bufaux.h" | 29 | #include "bufaux.h" |
@@ -51,12 +51,12 @@ fudge_opendir(const char *path) | |||
51 | 51 | ||
52 | r = xmalloc(sizeof(*r)); | 52 | r = xmalloc(sizeof(*r)); |
53 | 53 | ||
54 | if (do_readdir(cur.conn, (char*)path, &r->dir)) | 54 | if (do_readdir(cur.conn, (char *)path, &r->dir)) |
55 | return(NULL); | 55 | return(NULL); |
56 | 56 | ||
57 | r->offset = 0; | 57 | r->offset = 0; |
58 | 58 | ||
59 | return((void*)r); | 59 | return((void *)r); |
60 | } | 60 | } |
61 | 61 | ||
62 | static struct dirent * | 62 | static struct dirent * |
@@ -129,7 +129,7 @@ fudge_lstat(const char *path, struct stat *st) | |||
129 | { | 129 | { |
130 | Attrib *a; | 130 | Attrib *a; |
131 | 131 | ||
132 | if (!(a = do_lstat(cur.conn, (char*)path, 0))) | 132 | if (!(a = do_lstat(cur.conn, (char *)path, 0))) |
133 | return(-1); | 133 | return(-1); |
134 | 134 | ||
135 | attrib_to_stat(a, st); | 135 | attrib_to_stat(a, st); |
@@ -142,7 +142,7 @@ fudge_stat(const char *path, struct stat *st) | |||
142 | { | 142 | { |
143 | Attrib *a; | 143 | Attrib *a; |
144 | 144 | ||
145 | if (!(a = do_stat(cur.conn, (char*)path, 0))) | 145 | if (!(a = do_stat(cur.conn, (char *)path, 0))) |
146 | return(-1); | 146 | return(-1); |
147 | 147 | ||
148 | attrib_to_stat(a, st); | 148 | attrib_to_stat(a, st); |