diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-07-04 00:14:17 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-07-04 00:14:17 +0000 |
commit | a962c2fb35b909a361b3ce0f9eaa670b72e15ece (patch) | |
tree | 16f40c8c213b67dc6086983e81a2d4db2e1adba0 /sftp-glob.c | |
parent | 5a9d0eaba699968ae29bf560e4546d09edcb440d (diff) | |
download | openssh-git-a962c2fb35b909a361b3ce0f9eaa670b72e15ece.tar.gz |
- deraadt@cvs.openbsd.org 2002/06/30 21:59:45
[auth-bsdauth.c auth-skey.c auth2-chall.c clientloop.c key.c
monitor_wrap.c monitor_wrap.h scard.h session.h sftp-glob.c ssh.c
sshconnect2.c sshd.c]
minor KNF
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 1234074c..2deb0eb4 100644 --- a/sftp-glob.c +++ b/sftp-glob.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sftp-glob.c,v 1.10 2002/02/13 00:59:23 djm Exp $"); +RCSID("$OpenBSD: sftp-glob.c,v 1.11 2002/06/30 21:59:45 deraadt Exp $"); #include "buffer.h" #include "bufaux.h" @@ -51,12 +51,12 @@ fudge_opendir(const char *path) r = xmalloc(sizeof(*r)); - if (do_readdir(cur.conn, (char*)path, &r->dir)) + if (do_readdir(cur.conn, (char *)path, &r->dir)) return(NULL); r->offset = 0; - return((void*)r); + return((void *)r); } static struct dirent * @@ -129,7 +129,7 @@ fudge_lstat(const char *path, struct stat *st) { Attrib *a; - if (!(a = do_lstat(cur.conn, (char*)path, 0))) + if (!(a = do_lstat(cur.conn, (char *)path, 0))) return(-1); attrib_to_stat(a, st); @@ -142,7 +142,7 @@ fudge_stat(const char *path, struct stat *st) { Attrib *a; - if (!(a = do_stat(cur.conn, (char*)path, 0))) + if (!(a = do_stat(cur.conn, (char *)path, 0))) return(-1); attrib_to_stat(a, st); |