From 53eb587b187cc42e7721fd155cb1255d341904b0 Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 17 Jun 2014 21:51:48 +1000 Subject: [PATCH] ckdb - consistent auth messages --- src/ckdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index 282d991f..8d457cc4 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -3709,11 +3709,11 @@ static char *cmd_auth(char *cmd, char *id, tv_t *now, char *by, char *code, char PQfinish(conn); if (!secuserid) { - LOGDEBUG("%s.bad.DBE", id); - return strdup("bad.DBE"); + LOGDEBUG("%s.failed.DBE", id); + return strdup("failed.DBE"); } - LOGDEBUG("%s.ok.added, %s", id, secuserid); + LOGDEBUG("%s.ok.auth added for %s", id, secuserid); snprintf(reply, siz, "ok.%s", secuserid); return strdup(reply); }