Browse Source

ckdb - correct status order in cmd_payouts message

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

2
src/ckdb.h

@ -52,7 +52,7 @@
#define DB_VLOCK "1" #define DB_VLOCK "1"
#define DB_VERSION "1.0.0" #define DB_VERSION "1.0.0"
#define CKDB_VERSION DB_VERSION"-1.001" #define CKDB_VERSION DB_VERSION"-1.002"
#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__

2
src/ckdb_cmd.c

@ -4115,7 +4115,7 @@ static char *cmd_payouts(PGconn *conn, char *cmd, char *id, tv_t *now,
snprintf(msg, sizeof(msg), snprintf(msg, sizeof(msg),
"payout %"PRId64" changed from '%s' to '%s' for" "payout %"PRId64" changed from '%s' to '%s' for"
"%"PRId32"/%s", "%"PRId32"/%s",
payoutid, payouts2->status, old_payouts2->status, payoutid, old_payouts2->status, payouts2->status,
payouts2->height, payouts2->blockhash); payouts2->height, payouts2->blockhash);
/* /*
} else if (strcasecmp(action, "expire") == 0) { } else if (strcasecmp(action, "expire") == 0) {

Loading…
Cancel
Save