summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--ssh-keyscan.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ab66d1c..69762fb0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index b913614d..ae7cd86f 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -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)