baseException fix

This commit is contained in:
Matej Sekoranja
2011-01-28 19:52:46 +01:00
parent 4bb231f22c
commit 441532ff66
6 changed files with 10 additions and 20 deletions
+2 -5
View File
@@ -151,11 +151,8 @@ void testBlockingTCPSender() {
break;
sleep(1);
}
} catch(BaseException* e) {
String info;
e->toString(info);
cout<<info<<endl;
delete e;
} catch(std::exception& e) {
cout<<e.what()<<endl;
}
delete transport;