More debugging for stats bugs

This commit is contained in:
Thulinma 2011-12-04 21:13:43 +01:00
parent eff3fd9987
commit 8c247399a9

View file

@ -460,6 +460,8 @@ int main(int argc, char ** argv){
Storage["statistics"][thisbuffer]["log"][jit.memberName()] = Request["log"][jit.memberName()];
}
}
}else{
Log("STAT", "Failed to parse stats from a buffer: "+it->Received().substr(0, newlines));
}
it->Received().erase(0, newlines+2);
newlines = it->Received().find("\n\n");