Add jsonbot client. Return configuration as const.

This commit is contained in:
Wilco Baan Hofman 2012-08-05 02:41:46 +02:00
parent 172d47b6da
commit bdbc16a566
11 changed files with 155 additions and 19 deletions

View file

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