- (bal) Minor KNF on ssh-keyscan.c

This is really from Theo's patch.  I missed it by looking at the wrong
function call.
This commit is contained in:
Ben Lindstrom 2002-07-07 22:25:29 +00:00
parent 6a9fbc96c0
commit 5c98db50bf
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@
- stevesk@cvs.openbsd.org 2002/07/06 17:47:58
[ssh-keyscan.c]
unused variable
- (bal) Minor KNF on ssh-keyscan.c
20020705
- (tim) [configure.ac] AIX 4.2.1 has authenticate() in libs.
@ -1308,4 +1309,4 @@
- (stevesk) entropy.c: typo in debug message
- (djm) ssh-keygen -i needs seeded RNG; report from markus@
$Id: ChangeLog,v 1.2347 2002/07/07 22:19:13 mouring Exp $
$Id: ChangeLog,v 1.2348 2002/07/07 22:25:29 mouring Exp $

View File

@ -234,6 +234,7 @@ fdlim_set(int lim)
#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)
struct rlimit rlfd;
#endif
if (lim <= 0)
return (-1);
#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)