From 351545f1abb8e54c44c9974ce7bd8eebcd6ed978 Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 7 Oct 2014 11:55:30 +1100 Subject: [PATCH] ckdb - auth json reply should be authorise --- src/ckdb.h | 2 +- src/ckdb_cmd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index 6bfeb572..008404ab 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -52,7 +52,7 @@ #define DB_VLOCK "1" #define DB_VERSION "0.9.2" -#define CKDB_VERSION DB_VERSION"-0.500" +#define CKDB_VERSION DB_VERSION"-0.501" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_cmd.c b/src/ckdb_cmd.c index b04893ed..8995f134 100644 --- a/src/ckdb_cmd.c +++ b/src/ckdb_cmd.c @@ -1803,7 +1803,7 @@ static char *cmd_auth_do(PGconn *conn, char *cmd, char *id, char *by, } snprintf(reply, siz, - "ok.auth={\"secondaryuserid\":\"%s\"," + "ok.authorise={\"secondaryuserid\":\"%s\"," "\"difficultydefault\":%d}", users->secondaryuserid, workers->difficultydefault); LOGDEBUG("%s.%s", id, reply);