summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
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 b913614db..ae7cd86fc 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -234,6 +234,7 @@ fdlim_set(int lim)
234#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE) 234#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)
235 struct rlimit rlfd; 235 struct rlimit rlfd;
236#endif 236#endif
237
237 if (lim <= 0) 238 if (lim <= 0)
238 return (-1); 239 return (-1);
239#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE) 240#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)