diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2004-06-03 12:22:21 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2004-06-03 12:22:21 +0000 |
commit | 184e21ec81c2820789ea4fa4b55bddbda3ad39fb (patch) | |
tree | 9a6264591cdb29e7129b8c958516f49c40b5aa20 /usr.bin/ssh/sftp.c | |
parent | 21a85dd49b57fa393c6cc7f74520f61a1ddf2e91 (diff) |
initialize pointers, ok markus@
Diffstat (limited to 'usr.bin/ssh/sftp.c')
-rw-r--r-- | usr.bin/ssh/sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c index 941922bae36..28a11847718 100644 --- a/usr.bin/ssh/sftp.c +++ b/usr.bin/ssh/sftp.c @@ -16,7 +16,7 @@ #include "includes.h" -RCSID("$OpenBSD: sftp.c,v 1.47 2004/05/26 08:59:57 djm Exp $"); +RCSID("$OpenBSD: sftp.c,v 1.48 2004/06/03 12:22:20 pedro Exp $"); #include <glob.h> @@ -1301,7 +1301,7 @@ int main(int argc, char **argv) { int in, out, ch, err; - char *host, *userhost, *cp, *file2; + char *host, *userhost, *cp, *file2 = NULL; int debug_level = 0, sshver = 2; char *file1 = NULL, *sftp_server = NULL; char *ssh_program = _PATH_SSH_PROGRAM, *sftp_direct = NULL; |