Browse Source

correct password success message on a missing user

master
kanoi 10 years ago
parent
commit
b7405adf48
  1. 2
      src/ckdb.h
  2. 3
      src/ckdb_cmd.c

2
src/ckdb.h

@ -52,7 +52,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "0.9.2" #define DB_VERSION "0.9.2"
#define CKDB_VERSION DB_VERSION"-0.501" #define CKDB_VERSION DB_VERSION"-0.502"
#define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__ #define WHERE_FFL_HERE __FILE__, __func__, __LINE__

3
src/ckdb_cmd.c

@ -91,7 +91,8 @@ static char *cmd_newpass(__maybe_unused PGconn *conn, char *cmd, char *id,
NULL, NULL,
by, code, inet, now, by, code, inet, now,
trf_root); trf_root);
} } else
ok = false;
} }
if (!ok) { if (!ok) {

Loading…
Cancel
Save