Browse Source

ckdb - consistent auth messages

master
kanoi 11 years ago
parent
commit
53eb587b18
  1. 6
      src/ckdb.c

6
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); PQfinish(conn);
if (!secuserid) { if (!secuserid) {
LOGDEBUG("%s.bad.DBE", id); LOGDEBUG("%s.failed.DBE", id);
return strdup("bad.DBE"); 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); snprintf(reply, siz, "ok.%s", secuserid);
return strdup(reply); return strdup(reply);
} }

Loading…
Cancel
Save