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 983f5a03f5c034975b2803a02571914e30008c29
parent 450aabbea17e0d99a563fdf35932eed23f9f0c2c
Author: Joris Vink <joris@coders.se>
Date:   Mon, 13 Sep 2021 15:33:42 +0200

Initial mem and log earlier.

Kill the kodev mention.

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

diff --git a/src/kore.c b/src/kore.c @@ -168,6 +168,9 @@ main(int argc, char *argv[]) #endif kore_mem_init(); + kore_msg_init(); + kore_log_init(); + kore_progname = kore_strdup(argv[0]); kore_proctitle_setup(); @@ -194,10 +197,6 @@ main(int argc, char *argv[]) if (!S_ISDIR(st.st_mode) && !S_ISREG(st.st_mode)) fatal("%s: not a directory or file", kore_pymodule); } - -#elif !defined(KORE_SINGLE_BINARY) - if (argc > 0) - fatal("did you mean to run `kodev' instead?"); #endif kore_pid = getpid(); @@ -205,8 +204,6 @@ main(int argc, char *argv[]) LIST_INIT(&kore_servers); kore_platform_init(); - kore_msg_init(); - kore_log_init(); #if !defined(KORE_NO_HTTP) http_parent_init(); #if defined(KORE_USE_CURL)