diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.196 2003/07/03 08:09:06 djm Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.197 2003/07/16 10:34:53 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -338,14 +338,14 @@ again: | |||
338 | tty_flag = 1; | 338 | tty_flag = 1; |
339 | break; | 339 | break; |
340 | case 'v': | 340 | case 'v': |
341 | if (0 == debug_flag) { | 341 | if (debug_flag == 0) { |
342 | debug_flag = 1; | 342 | debug_flag = 1; |
343 | options.log_level = SYSLOG_LEVEL_DEBUG1; | 343 | options.log_level = SYSLOG_LEVEL_DEBUG1; |
344 | } else if (options.log_level < SYSLOG_LEVEL_DEBUG3) { | 344 | } else { |
345 | options.log_level++; | 345 | if (options.log_level < SYSLOG_LEVEL_DEBUG3) |
346 | options.log_level++; | ||
346 | break; | 347 | break; |
347 | } else | 348 | } |
348 | fatal("Too high debugging level."); | ||
349 | /* fallthrough */ | 349 | /* fallthrough */ |
350 | case 'V': | 350 | case 'V': |
351 | fprintf(stderr, | 351 | fprintf(stderr, |