--- ../oscam-chk.c.ori 2013-02-07 17:53:51.000000000 +0100 +++ oscam-chk.c 2013-02-07 17:54:27.000000000 +0100 @@ -149,7 +149,8 @@ else { if (reader_mode) { // Register new slot - reader->rlecmh[foundspace].last = time(NULL); + time_t actualtime = time(NULL); + reader->rlecmh[foundspace].last = actualtime; reader->rlecmh[foundspace].srvid = er->srvid; } return OK; @@ -236,7 +237,8 @@ // Cooldown state housekeeping is done. There is a slot available. if (reader_mode) { // Register new slot - reader->rlecmh[foundspace].last = time(NULL); + time_t actualtime = time(NULL); + reader->rlecmh[foundspace].last = actualtime; reader->rlecmh[foundspace].srvid = er->srvid; } return OK;