Cleaner DataStore dumping
This commit is contained in:
parent
2461868888
commit
305e8ad254
1 changed files with 3 additions and 1 deletions
|
@ -87,7 +87,9 @@ void DataStore::dump() {
|
|||
for(auto it=data.begin(); it != data.end(); ++it) {
|
||||
Bytes dat = it->second.data;
|
||||
while(dat.size() >= 2) {
|
||||
printf(">> DATA %lX (%u) ", it->first, curSeqno[it->first]);
|
||||
printf(">> DATA %lX (%u, %ld sec) ",
|
||||
it->first, curSeqno[it->first],
|
||||
time(NULL)-recvTime[it->first]);
|
||||
if(dat.size() < 2) {
|
||||
printf("INVALID\n");
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue