summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2004-06-15 10:28:56 +1000
committerDamien Miller <djm@mindrot.org>2004-06-15 10:28:56 +1000
commit7cf17eb78c71ba16ec39bb1a6a8640885071a307 (patch)
tree4e1bfdf6878a16b7d3050b6b823c6b73b063ca7f /sftp.c
parent16ea6494b6fe06b608f3b1d5fd629c8abd58efb6 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index eef9f1185..dca5505d0 100644
--- a/sftp.c
+++ b/sftp.c
@@ -16,7 +16,7 @@
16 16
17#include "includes.h" 17#include "includes.h"
18 18
19RCSID("$OpenBSD: sftp.c,v 1.47 2004/05/26 08:59:57 djm Exp $"); 19RCSID("$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
1310main(int argc, char **argv) 1310main(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;