Added automated exit handler in Util::Procs.

This commit is contained in:
Thulinma 2013-03-19 14:41:07 +01:00
parent f2b4e1d1a4
commit bf69dacefd
3 changed files with 69 additions and 35 deletions

View file

@ -476,7 +476,6 @@ std::string & JSON::Value::toNetPacked(){
//check if this is legal
if (myType != OBJECT){
fprintf(stderr, "Error: Only objects may be NetPacked!\n");
abort();
return emptystring;
}
//if sneaky storage doesn't contain correct data, re-calculate it