From 6f80a314b634f63dee9f79b94a31df22e85836b2 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 5 Jun 2013 21:13:31 +0200 Subject: common: Update callers of eurephia_log_init() to comply with the API changes This is to enable an improved logging feature in OpenVPN v2.3 and newer. Signed-off-by: David Sommerseth --- database/sqlite/sqlite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'database/sqlite') diff --git a/database/sqlite/sqlite.c b/database/sqlite/sqlite.c index 2122885..1df00e2 100644 --- a/database/sqlite/sqlite.c +++ b/database/sqlite/sqlite.c @@ -1,6 +1,6 @@ /* sqlite.c -- Generic functions to simplify SQLite3 queries * - * GPLv2 only - Copyright (C) 2008 - 2012 + * GPLv2 only - Copyright (C) 2008 - 2013 * David Sommerseth * * This program is free software; you can redistribute it and/or @@ -828,7 +828,7 @@ int main(int argc, char **argv) { ctx = malloc_nullsafe(NULL, sizeof(eurephiaCTX)+2); ctx->dbc = malloc_nullsafe(NULL, sizeof(eDBconn)+2); - eurephia_log_init(ctx, "sqlitedbg", "stderr:", 10); + eurephia_log_init(ctx, "sqlitedbg", "stderr:", 10, NULL); rc = sqlite3_open(argv[1], (void *) &ctx->dbc->dbhandle); if( rc ) { -- cgit