summaryrefslogtreecommitdiff
path: root/sftp-glob.c
diff options
context:
space:
mode:
authormouring <mouring>2001-04-05 23:26:32 +0000
committermouring <mouring>2001-04-05 23:26:32 +0000
commitb830c064a204bc42a9c78dcaa573202432314355 (patch)
tree2ba84640bc0a13cdb5f7884910d06155a1638a5c /sftp-glob.c
parent6b3307b2f824c3aa08a390e7a37dc4259a081799 (diff)
downloadopenssh-b830c064a204bc42a9c78dcaa573202432314355.tar.gz
- markus@cvs.openbsd.org 2001/04/05 10:42:57
[auth-chall.c authfd.c channels.c clientloop.c kex.c kexgex.c key.c mac.c packet.c serverloop.c sftp-client.c sftp-client.h sftp-glob.c sftp-glob.h sftp-int.c sftp-server.c sftp.c ssh-keygen.c sshconnect.c sshconnect2.c sshd.c] fix whitespace: unexpand + trailing spaces.
Diffstat (limited to 'sftp-glob.c')
-rw-r--r--sftp-glob.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp-glob.c b/sftp-glob.c
index 208efeb1..53524100 100644
--- a/sftp-glob.c
+++ b/sftp-glob.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sftp-glob.c,v 1.3 2001/04/03 13:56:11 stevesk Exp $");
+RCSID("$OpenBSD: sftp-glob.c,v 1.4 2001/04/05 10:42:53 markus Exp $");
#include "ssh.h"
#include "buffer.h"
@@ -84,7 +84,7 @@ struct dirent *fudge_readdir(struct SFTP_OPENDIR *od)
#ifdef BROKEN_ONE_BYTE_DIRENT_D_NAME
strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN);
#else
- strlcpy(ret->d_name, od->dir[od->offset++]->filename,
+ strlcpy(ret->d_name, od->dir[od->offset++]->filename,
sizeof(ret->d_name));
#endif
#ifdef __GNU_LIBRARY__
@@ -150,7 +150,7 @@ int fudge_stat(const char *path, struct stat *st)
}
int
-remote_glob(int fd_in, int fd_out, const char *pattern, int flags,
+remote_glob(int fd_in, int fd_out, const char *pattern, int flags,
const int (*errfunc)(const char *, int), glob_t *pglob)
{
pglob->gl_opendir = (void*)fudge_opendir;
@@ -163,6 +163,6 @@ remote_glob(int fd_in, int fd_out, const char *pattern, int flags,
cur.fd_in = fd_in;
cur.fd_out = fd_out;
- return(glob(pattern, flags | GLOB_ALTDIRFUNC, (void*)errfunc,
+ return(glob(pattern, flags | GLOB_ALTDIRFUNC, (void*)errfunc,
pglob));
}