- Timestamp:
- 03/30/11 15:37:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ServiceList.cc
r10183 r10267 552 552 // into a data block which will be attached to the event 553 553 lout << kBlue << cmd; 554 Converter c(lout, fmt, str.substr(p0)); 555 556 // Parsing was not successfull 557 if (!c.GetRc()) 554 555 const Converter conv(lout, fmt); 556 557 const vector<char> v = conv.GetVector(str.substr(p0)); 558 if (!conv.valid() || v.empty()!=conv.empty()) 558 559 { 559 560 lout << kRed << "Couldn't properly parse the input... ignored." << endl; … … 561 562 } 562 563 563 const int rc = DimClient::sendCommand(cmd.c_str(), c.Ptr(), c.Size());564 const int rc = DimClient::sendCommand(cmd.c_str(), (void*)v.data(), v.size()); 564 565 if (rc) 565 566 lout << kGreen << "Command " << cmd << " emitted successfully to DimClient." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.