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

@ -75,7 +75,7 @@ STATUS log_event_to_database(TALLOC_CTX *mem_ctx, dbi_conn conn, const char *pro
STATUS connect_to_database(dbi_conn *conn)
{
configuration *conf = get_conf();
const configuration *conf = get_conf();
DEBUG(1, "Connecting to %s database %s at %s as user %s", conf->database_driver,
conf->database_name, conf->database_host, conf->database_username);