summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-06-28 15:22:41 +1000
committerDamien Miller <djm@mindrot.org>2000-06-28 15:22:41 +1000
commitb8c656e744a0a9110e5eb0ea5a6587efb181b20a (patch)
tree090ecdf170d3a8e3b184a1607a1807fac26d663a /sshd.c
parent262ff170fbd9d2071a43e97656a6bd705dda7e4c (diff)
- (djm) Added patch from Chris Adams <cmadams@hiwaay.net> to add OSF SIA
support. Enable using "USE_SIA=1 ./configure [options]"
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 32a6fac7f..a4749fbe4 100644
--- a/sshd.c
+++ b/sshd.c
@@ -88,6 +88,7 @@ char *av0;
88 88
89/* Saved arguments to main(). */ 89/* Saved arguments to main(). */
90char **saved_argv; 90char **saved_argv;
91int saved_argc;
91 92
92/* 93/*
93 * The sockets that the server is listening; this is used in the SIGHUP 94 * The sockets that the server is listening; this is used in the SIGHUP
@@ -422,6 +423,7 @@ main(int ac, char **av)
422 int listen_sock, maxfd; 423 int listen_sock, maxfd;
423 424
424 /* Save argv[0]. */ 425 /* Save argv[0]. */
426 saved_argc = ac;
425 saved_argv = av; 427 saved_argv = av;
426 if (strchr(av[0], '/')) 428 if (strchr(av[0], '/'))
427 av0 = strrchr(av[0], '/') + 1; 429 av0 = strrchr(av[0], '/') + 1;