Add jsonbot client. Return configuration as const.
This commit is contained in:
parent
172d47b6da
commit
bdbc16a566
11 changed files with 155 additions and 19 deletions
2
status.c
2
status.c
|
@ -26,7 +26,7 @@ STATUS debug(int loglevel, const char *location, const char *function, ...)
|
|||
struct tm *timeinfo;
|
||||
size_t s;
|
||||
FILE *logfile;
|
||||
configuration *conf = get_conf();
|
||||
const configuration *conf = get_conf();
|
||||
|
||||
if (loglevel > conf->log_level) {
|
||||
return ST_OK;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue