diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.282 2003/12/02 17:01:15 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.283 2003/12/09 17:29:04 markus Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -800,6 +800,7 @@ main(int ac, char **av) | |||
800 | FILE *f; | 800 | FILE *f; |
801 | struct addrinfo *ai; | 801 | struct addrinfo *ai; |
802 | char ntop[NI_MAXHOST], strport[NI_MAXSERV]; | 802 | char ntop[NI_MAXHOST], strport[NI_MAXSERV]; |
803 | char *line; | ||
803 | int listen_sock, maxfd; | 804 | int listen_sock, maxfd; |
804 | int startup_p[2]; | 805 | int startup_p[2]; |
805 | int startups = 0; | 806 | int startups = 0; |
@@ -908,9 +909,11 @@ main(int ac, char **av) | |||
908 | } | 909 | } |
909 | break; | 910 | break; |
910 | case 'o': | 911 | case 'o': |
911 | if (process_server_config_line(&options, optarg, | 912 | line = xstrdup(optarg); |
913 | if (process_server_config_line(&options, line, | ||
912 | "command-line", 0) != 0) | 914 | "command-line", 0) != 0) |
913 | exit(1); | 915 | exit(1); |
916 | xfree(line); | ||
914 | break; | 917 | break; |
915 | case '?': | 918 | case '?': |
916 | default: | 919 | default: |