diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-15 14:27:16 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-15 14:27:16 +0000 |
commit | 206941fdd88031e76da1e2aa0b5dd3b8d1d5d38b (patch) | |
tree | b65242384506b68308282d08ed4b9ca16f09d052 /sshd.c | |
parent | ac2f00390392b22bfc971146e61c440ce62cf242 (diff) |
- markus@cvs.openbsd.org 2001/04/15 08:43:47
[dh.c sftp-glob.c sftp-glob.h sftp-int.c sshconnect2.c sshd.c]
some unused variable and typos; from tomh@po.crl.go.jp
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: sshd.c,v 1.193 2001/04/12 20:09:38 stevesk Exp $"); | 43 | RCSID("$OpenBSD: sshd.c,v 1.194 2001/04/15 08:43:47 markus Exp $"); |
44 | 44 | ||
45 | #include <openssl/dh.h> | 45 | #include <openssl/dh.h> |
46 | #include <openssl/bn.h> | 46 | #include <openssl/bn.h> |
@@ -799,9 +799,9 @@ main(int ac, char **av) | |||
799 | 799 | ||
800 | /* Start listening for a socket, unless started from inetd. */ | 800 | /* Start listening for a socket, unless started from inetd. */ |
801 | if (inetd_flag) { | 801 | if (inetd_flag) { |
802 | int s1, s2; | 802 | int s1; |
803 | s1 = dup(0); /* Make sure descriptors 0, 1, and 2 are in use. */ | 803 | s1 = dup(0); /* Make sure descriptors 0, 1, and 2 are in use. */ |
804 | s2 = dup(s1); | 804 | dup(s1); |
805 | sock_in = dup(0); | 805 | sock_in = dup(0); |
806 | sock_out = dup(1); | 806 | sock_out = dup(1); |
807 | startup_pipe = -1; | 807 | startup_pipe = -1; |