kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 9d7ef805f0ba930a4ff16d2abb0072db15945d96
parent 937c39f0416f4f50164b5ec6ac3a760c4c27984c
Author: Joris Vink <joris@coders.se>
Date:   Thu, 26 Sep 2019 16:05:01 +0200

hide rcall properly if needed

Diffstat:
src/kore.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/kore.c b/src/kore.c @@ -703,11 +703,11 @@ static void kore_server_start(int argc, char *argv[]) { u_int32_t tmp; - struct kore_runtime_call *rcall; u_int64_t netwait; int quit, last_sig; - - rcall = NULL; +#if defined(KORE_SINGLE_BINARY) || !defined(KORE_USE_PYTHON) + struct kore_runtime_call *rcall; +#endif if (foreground == 0) { if (daemon(1, 0) == -1)