Small tweak to kore's output when running a module

This commit is contained in:
Geenz 2015-05-26 12:13:56 -04:00
parent 76823c9d07
commit 0f5b39c977
1 changed files with 6 additions and 1 deletions

View File

@ -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);
}