diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.188 2002/11/27 17:53:35 markus Exp $"); | 43 | RCSID("$OpenBSD: ssh.c,v 1.189 2002/12/09 16:50:30 millert Exp $"); |
44 | 44 | ||
45 | #include <openssl/evp.h> | 45 | #include <openssl/evp.h> |
46 | #include <openssl/err.h> | 46 | #include <openssl/err.h> |
@@ -505,12 +505,11 @@ again: | |||
505 | host = ++cp; | 505 | host = ++cp; |
506 | } else | 506 | } else |
507 | host = *av; | 507 | host = *av; |
508 | ac--, av++; | 508 | if (ac > 1) { |
509 | if (ac > 0) { | 509 | optind = optreset = 1; |
510 | optind = 0; | ||
511 | optreset = 1; | ||
512 | goto again; | 510 | goto again; |
513 | } | 511 | } |
512 | ac--, av++; | ||
514 | } | 513 | } |
515 | 514 | ||
516 | /* Check that we got a host name. */ | 515 | /* Check that we got a host name. */ |