Browse Source

ckdb - ∞ loops are bad

master
kanoi 10 years ago
parent
commit
cda0724c6d
  1. 2
      src/ckdb.h
  2. 5
      src/ckdb_data.c

2
src/ckdb.h

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

5
src/ckdb_data.c

@ -3032,10 +3032,9 @@ bool process_pplns(int32_t height, char *blockhash, tv_t *addr_cd)
STRNCPY(pa2->payaddress, pa->payaddress);
pa2->payratio = pa->payratio;
k_add_tail(addr_store, pa_item2);
pa_item = next_in_ktree(pay_ctx);
DATA_PAYMENTADDRESSES_NULL(pa, pa_item);
}
pa_item = next_in_ktree(pay_ctx);
DATA_PAYMENTADDRESSES_NULL(pa, pa_item);
}
}
K_WUNLOCK(paymentaddresses_free);

Loading…
Cancel
Save