Browse Source

ckdb - missing time initialisation

master
kanoi 8 years ago
parent
commit
146142ff2c
  1. 1
      src/ckdb.c
  2. 2
      src/ckdb.h

1
src/ckdb.c

@ -3232,6 +3232,7 @@ setitemdata:
found_msgs[i].last.tv_sec = 0;
ck_wlock(&seq_found_lock);
if (has_found) {
setnow(&found_now);
for (i = 0; i < SEQ_MAX; i++) {
if (found[i].last.tv_sec != 0 &&
tvdiff(&found_now, &(found[i].last)) >= 2.0) {

2
src/ckdb.h

@ -58,7 +58,7 @@
#define DB_VLOCK "1"
#define DB_VERSION "1.0.7"
#define CKDB_VERSION DB_VERSION"-2.410"
#define CKDB_VERSION DB_VERSION"-2.411"
#define WHERE_FFL " - from %s %s() line %d"
#define WHERE_FFL_HERE __FILE__, __func__, __LINE__

Loading…
Cancel
Save