kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 6013f2a9d22ef31642c42f85d03a1da3c3902738
parent fb6512259cc00a4ee2a518ca7cf2f6be660f6f35
Author: Joris Vink <joris@coders.se>
Date:   Thu, 28 Apr 2016 07:56:04 +0200

Merge pull request #121 from rtprio/rlimt-mismatch

If we're iterating over rlimits, we should use rlim_t.
Diffstat:
src/worker.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/worker.c b/src/worker.c @@ -202,7 +202,7 @@ kore_worker_dispatch_signal(int sig) void kore_worker_entry(struct kore_worker *kw) { - size_t fd; + rlim_t fd; struct rlimit rl; char buf[16]; int quit, had_lock, r;