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 6495e84005fd54729b60296019828d6e7dab0d3a
parent 23164f636fc34fabbea4cd92e0e5aa92c090897d
Author: Joris Vink <joris@coders.se>
Date:   Fri,  1 Aug 2014 20:00:09 +0200

Show the uri to the running kore instance in foreground mode

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

diff --git a/src/kore.c b/src/kore.c @@ -271,6 +271,9 @@ kore_server_bind(const char *ip, const char *port) nlisteners++; LIST_INSERT_HEAD(&listeners, l, list); + if (foreground) + kore_log(LOG_NOTICE, "running on https://%s:%s", ip, port); + return (KORE_RESULT_OK); }