[openssh-commits] [openssh] 01/01: wrap struct rlimit in HAVE_GETRLIMIT too
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Apr 7 08:50:44 AEST 2021
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit e7d0a285dbdd65d8df16123ad90f15e91862f959
Author: Damien Miller <djm at mindrot.org>
Date: Wed Apr 7 08:50:38 2021 +1000
wrap struct rlimit in HAVE_GETRLIMIT too
---
sftp-server.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sftp-server.c b/sftp-server.c
index 1f9997bd..838f0488 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1491,7 +1491,9 @@ process_extended_limits(u_int32_t id)
struct sshbuf *msg;
int r;
uint64_t nfiles = 0;
+#ifdef HAVE_GETRLIMIT
struct rlimit rlim;
+#endif
debug("request %u: limits", id);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list