diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-10 21:31:27 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-10 21:31:27 +1000 |
commit | 6444fe996b2789327e28057e69bd3ece371f784d (patch) | |
tree | c0cf1529762fae090f51fea2b27f7e56c5041a78 /sftp-server.c | |
parent | c718c743c1b64ba20b009f2dfe6cad465a7a4a78 (diff) |
- djm@cvs.openbsd.org 2006/07/10 11:25:53
[sftp-server.c]
don't log variables that aren't yet set
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp-server.c b/sftp-server.c index 31be27b4f..e7193859e 100644 --- a/sftp-server.c +++ b/sftp-server.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sftp-server.c,v 1.60 2006/07/10 11:24:54 djm Exp $ */ | 1 | /* $OpenBSD: sftp-server.c,v 1.61 2006/07/10 11:25:53 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -480,9 +480,9 @@ process_open(void) | |||
480 | int handle, fd, flags, mode, status = SSH2_FX_FAILURE; | 480 | int handle, fd, flags, mode, status = SSH2_FX_FAILURE; |
481 | 481 | ||
482 | id = get_int(); | 482 | id = get_int(); |
483 | debug3("request %u: open flags %d", id, pflags); | ||
484 | name = get_string(NULL); | 483 | name = get_string(NULL); |
485 | pflags = get_int(); /* portable flags */ | 484 | pflags = get_int(); /* portable flags */ |
485 | debug3("request %u: open flags %d", id, pflags); | ||
486 | a = get_attrib(); | 486 | a = get_attrib(); |
487 | flags = flags_from_portable(pflags); | 487 | flags = flags_from_portable(pflags); |
488 | mode = (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) ? a->perm : 0666; | 488 | mode = (a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS) ? a->perm : 0666; |