Fixed core dumps. Transport client now finishes successfully.

This commit is contained in:
miha_vitorovic
2011-01-07 13:01:48 +01:00
parent b868736759
commit 3c03971939
6 changed files with 41 additions and 84 deletions
+6 -3
View File
@@ -11,6 +11,9 @@
#include <sstream>
using namespace epics::pvData;
using std::stringstream;
using std::endl;
using std::cout;
namespace epics {
namespace pvAccess {
@@ -29,9 +32,9 @@ namespace epics {
void hexDump(const String prologue, const String name, const int8 *bs,
int start, int len) {
std::stringstream header;
stringstream header;
header<<prologue<<std::endl<<"Hexdump ["<<name<<"] size = "<<len;
header<<prologue<<endl<<"Hexdump ["<<name<<"] size = "<<len;
String out(header.str());
@@ -70,7 +73,7 @@ namespace epics {
}
out += chars;
std::cout<<out;
cout<<out<<endl;
}
/**