From d6b306e01bb9e2fc1ad334a6b48979a5afc8c353 Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 9 Sep 2014 21:20:12 +1000 Subject: [PATCH] ckdb - fix settings password problem --- src/ckdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index bc98c738..80492eba 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -47,7 +47,7 @@ #define DB_VLOCK "1" #define DB_VERSION "0.9" -#define CKDB_VERSION DB_VERSION"-0.272" +#define CKDB_VERSION DB_VERSION"-0.273" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ @@ -7997,7 +7997,7 @@ static char *cmd_userset(PGconn *conn, char *cmd, char *id, } } else { if (strcasecmp(transfer_data(i_passwordhash), - users->passwordhash) == 0) { + users->passwordhash)) { reason = "Incorrect password"; goto struckout; }