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 9217fb0bd83a6133c0e15d4cc9beac9fc50ea307
parent 13795ead6389999473890e6ff025c307c4997134
Author: Joris Vink <joris@coders.se>
Date:   Sun, 14 Jun 2015 16:50:10 +0200

Fix typo.

Diffstat:
src/worker.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/worker.c b/src/worker.c @@ -229,7 +229,7 @@ kore_worker_entry(struct kore_worker *kw) if (skip_runas == 0) { if (setgroups(1, &pw->pw_gid) || #if defined(__MACH__) || defined(NetBSD) - setgid(Pw->pw_gid) || setegid(pw->pw_gid) || + setgid(pw->pw_gid) || setegid(pw->pw_gid) || setuid(pw->pw_uid) || seteuid(pw->pw_uid)) #else setresgid(pw->pw_gid, pw->pw_gid, pw->pw_gid) ||