summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--ssh.c5
2 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7fd03cc58..aeb09b069 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
120010413
2 - OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2001/04/12 14:29:09
4 [ssh.c]
5 show debug output during option processing, report from
6 pekkas@netcore.fi
7
120010412 820010412
2 - OpenBSD CVS Sync 9 - OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2001/04/10 07:46:58 10 - markus@cvs.openbsd.org 2001/04/10 07:46:58
@@ -5017,4 +5024,4 @@
5017 - Wrote replacements for strlcpy and mkdtemp 5024 - Wrote replacements for strlcpy and mkdtemp
5018 - Released 1.0pre1 5025 - Released 1.0pre1
5019 5026
5020$Id: ChangeLog,v 1.1100 2001/04/11 23:10:09 mouring Exp $ 5027$Id: ChangeLog,v 1.1101 2001/04/12 16:16:57 mouring Exp $
diff --git a/ssh.c b/ssh.c
index 5180a8d7d..5c08de820 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: ssh.c,v 1.110 2001/04/11 13:56:13 markus Exp $"); 42RCSID("$OpenBSD: ssh.c,v 1.111 2001/04/12 14:29:09 markus Exp $");
43 43
44#include <openssl/evp.h> 44#include <openssl/evp.h>
45#include <openssl/err.h> 45#include <openssl/err.h>
@@ -576,7 +576,8 @@ main(int ac, char **av)
576 * Initialize "log" output. Since we are the client all output 576 * Initialize "log" output. Since we are the client all output
577 * actually goes to stderr. 577 * actually goes to stderr.
578 */ 578 */
579 log_init(av[0], SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_USER, 1); 579 log_init(av[0], options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level,
580 SYSLOG_FACILITY_USER, 1);
580 581
581 /* Read per-user configuration file. */ 582 /* Read per-user configuration file. */
582 snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE); 583 snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, _PATH_SSH_USER_CONFFILE);