diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-07-07 22:25:29 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-07-07 22:25:29 +0000 |
commit | 5c98db50bfa18767693421aa0beaed8ac733f19f (patch) | |
tree | 6ef06b6f342a71f83b26fe5b44ce381d428803bf /ssh-keyscan.c | |
parent | 6a9fbc96c09ead1355743ecf77eef0421d25c592 (diff) | |
download | openssh-git-5c98db50bfa18767693421aa0beaed8ac733f19f.tar.gz |
- (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.c | 1 |
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) |