diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.272 2003/07/14 12:36:37 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.273 2003/07/16 10:34:53 markus Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -851,15 +851,11 @@ main(int ac, char **av) | |||
851 | config_file_name = optarg; | 851 | config_file_name = optarg; |
852 | break; | 852 | break; |
853 | case 'd': | 853 | case 'd': |
854 | if (0 == debug_flag) { | 854 | if (debug_flag == 0) { |
855 | debug_flag = 1; | 855 | debug_flag = 1; |
856 | options.log_level = SYSLOG_LEVEL_DEBUG1; | 856 | options.log_level = SYSLOG_LEVEL_DEBUG1; |
857 | } else if (options.log_level < SYSLOG_LEVEL_DEBUG3) { | 857 | } else if (options.log_level < SYSLOG_LEVEL_DEBUG3) |
858 | options.log_level++; | 858 | options.log_level++; |
859 | } else { | ||
860 | fprintf(stderr, "Too high debugging level.\n"); | ||
861 | exit(1); | ||
862 | } | ||
863 | break; | 859 | break; |
864 | case 'D': | 860 | case 'D': |
865 | no_daemon_flag = 1; | 861 | no_daemon_flag = 1; |