summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-07-07 22:25:29 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-07-07 22:25:29 +0000
commit5c98db50bfa18767693421aa0beaed8ac733f19f (patch)
tree6ef06b6f342a71f83b26fe5b44ce381d428803bf /ssh-keyscan.c
parent6a9fbc96c09ead1355743ecf77eef0421d25c592 (diff)
- (bal) Minor KNF on ssh-keyscan.c
This is really from Theo's patch. I missed it by looking at the wrong function call.
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c1
1 files changed, 1 insertions, 0 deletions
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)