Fix > → >=

This commit is contained in:
Théophile Bastian 2016-11-28 18:53:49 +01:00
parent fa51b5c170
commit 0289df4cdd

View file

@ -27,7 +27,7 @@ void DataStore::update() {
handleExpire(evt.id, evt.seqno); handleExpire(evt.id, evt.seqno);
} }
if(hasOwnData) { if(hasOwnData) {
if(time(NULL) - recvTime[myData] > csts::TIME_REPUBLISH_DATA) if(time(NULL) - recvTime[myData] >= csts::TIME_REPUBLISH_DATA)
handleRepublish(myData); handleRepublish(myData);
} }
} }