summaryrefslogtreecommitdiffstats
path: root/database/sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'database/sqlite')
-rw-r--r--database/sqlite/eurephiadb-sqlite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/database/sqlite/eurephiadb-sqlite.c b/database/sqlite/eurephiadb-sqlite.c
index 03cff02..8fcbd65 100644
--- a/database/sqlite/eurephiadb-sqlite.c
+++ b/database/sqlite/eurephiadb-sqlite.c
@@ -105,7 +105,7 @@ int eDBconnect(eurephiaCTX *ctx, const int argc, const char **argv)
DEBUG(ctx, 20, "Function call: eDBconnect(ctx, %i, '%s')", argc, argv[0]);
if( (argc != 1) || (argv[0] == NULL) || (strlen(argv[0]) < 1) ) {
- eurephia_log(ctx, LOG_PANIC, 0, "Wrong parameters to dblink-sqlite. Cannot open database.");
+ eurephia_log(ctx, LOG_PANIC, 0, "Wrong parameters to eurephiadb-sqlite. Cannot open database.");
return 0;
}
@@ -508,7 +508,7 @@ int eDBregister_login(eurephiaCTX *ctx, eurephiaSESSION *skey, const int certid,
skey->sessionkey, certid, uid, proto, remipaddr, remport, vpnipaddr, vpnipmask);
if( skey->sessionstatus != SESSION_NEW ) {
- eurephia_log(ctx, LOG_WARNING, 5, "Not a new session, will not register it again");
+ eurephia_log(ctx, LOG_ERROR, 5, "Not a new session, will not register it again");
return 1;
}
@@ -825,7 +825,7 @@ int eDBdestroy_session(eurephiaCTX *ctx, eurephiaSESSION *session) {
DEBUG(ctx, 20, "Function call: eDBdestroy_session(ctx, '%s')", session->sessionkey);
if( (session == NULL) || (session->sessionkey == NULL) ) {
- eurephia_log(ctx, LOG_ERROR, 1, "No active session given to be destroyed");
+ eurephia_log(ctx, LOG_WARNING, 1, "No active session given to be destroyed");
return 1;
}