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 21035cd3f2ccce0dde7ffde2e806e953c66dcab6
parent 76823c9d0714ffd08413afc5319a76e39f7113b5
Author: Joris Vink <joris@coders.se>
Date:   Wed, 27 May 2015 16:25:13 +0200

Merge pull request #67 from Geenz/master

Small tweak to kore's output when running a module
Diffstat:
src/kore.c | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/kore.c b/src/kore.c @@ -292,8 +292,13 @@ kore_server_bind(const char *ip, const char *port) nlisteners++; LIST_INSERT_HEAD(&listeners, l, list); - if (foreground) + if (foreground) { +#if !defined(KORE_NO_TLS) kore_log(LOG_NOTICE, "running on https://%s:%s", ip, port); +#else + kore_log(LOG_NOTICE, "running on http://%s:%s", ip, port); +#endif + } return (KORE_RESULT_OK); }