summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2006-07-10 11:25:54 +0000
committerDamien Miller <djm@cvs.openbsd.org>2006-07-10 11:25:54 +0000
commit7ffdb2935f0bd10a27a95b511260cb8d3c7a3b6e (patch)
treee9862ba47f647e48be8db4e07170138b956aacec /usr.bin/ssh
parent3a4b68f7a0e1dc2fd56efb303bf378e63f0e23f9 (diff)
don't log variables that aren't yet set
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/sftp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c
index 57b59a519cb..92d899cff2e 100644
--- a/usr.bin/ssh/sftp-server.c
+++ b/usr.bin/ssh/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.60 2006/07/10 11:24:54 djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.61 2006/07/10 11:25:53 djm Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -479,9 +479,9 @@ process_open(void)
int handle, fd, flags, mode, status = SSH2_FX_FAILURE;
id = get_int();
- debug3("request %u: open flags %d", id, pflags);
name = get_string(NULL);
pflags = get_int(); /* portable flags */
+ debug3("request %u: open flags %d", id, pflags);
a = get_attrib();
flags = flags_from_portable(pflags);
mode = (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) ? a->perm : 0666;