diff options
author | Damien Miller <djm@mindrot.org> | 2004-06-15 10:28:56 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-06-15 10:28:56 +1000 |
commit | 7cf17eb78c71ba16ec39bb1a6a8640885071a307 (patch) | |
tree | 4e1bfdf6878a16b7d3050b6b823c6b73b063ca7f /sftp.c | |
parent | 16ea6494b6fe06b608f3b1d5fd629c8abd58efb6 (diff) |
- pedro@cvs.openbsd.org 2004/06/03 12:22:20
[sftp-client.c sftp.c]
initialize pointers, ok markus@
Diffstat (limited to 'sftp.c')
-rw-r--r-- | sftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "includes.h" | 17 | #include "includes.h" |
18 | 18 | ||
19 | RCSID("$OpenBSD: sftp.c,v 1.47 2004/05/26 08:59:57 djm Exp $"); | 19 | RCSID("$OpenBSD: sftp.c,v 1.48 2004/06/03 12:22:20 pedro Exp $"); |
20 | 20 | ||
21 | #include "buffer.h" | 21 | #include "buffer.h" |
22 | #include "xmalloc.h" | 22 | #include "xmalloc.h" |
@@ -1310,7 +1310,7 @@ int | |||
1310 | main(int argc, char **argv) | 1310 | main(int argc, char **argv) |
1311 | { | 1311 | { |
1312 | int in, out, ch, err; | 1312 | int in, out, ch, err; |
1313 | char *host, *userhost, *cp, *file2; | 1313 | char *host, *userhost, *cp, *file2 = NULL; |
1314 | int debug_level = 0, sshver = 2; | 1314 | int debug_level = 0, sshver = 2; |
1315 | char *file1 = NULL, *sftp_server = NULL; | 1315 | char *file1 = NULL, *sftp_server = NULL; |
1316 | char *ssh_program = _PATH_SSH_PROGRAM, *sftp_direct = NULL; | 1316 | char *ssh_program = _PATH_SSH_PROGRAM, *sftp_direct = NULL; |