Changeset 18832 for trunk/FACT++
- Timestamp:
- 04/14/17 20:56:46 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/StateMachineDimControl.cc
r18425 r18832 93 93 string opt(imp.GetString()); 94 94 95 const map<string,string> data = Tools::Split(opt, true); 95 map<string,string> data; 96 try 97 { 98 data = Tools::Split(opt, true); 99 } 100 catch (const exception &e) 101 { 102 Warn("DIM_CONTROL/START: Parsing failed: "+opt+" ["+string(e.what())+"]"); 103 return GetCurrentState(); 104 } 105 96 106 if (imp.GetSize()==0 || opt.size()==0 || opt[0]==0) 97 107 { 98 Error(" File name missing in DIM_CONTROL/START");108 Error("DIM_CONTROL/START: File name missing."); 99 109 return GetCurrentState(); 100 110 } … … 394 404 int StateMachineDimControl::HandleServerAdd(const string &server) 395 405 { 406 if (fIsServer && server=="DIM_CONTROL") 407 return GetCurrentState(); 408 396 409 if (server!="DIS_DNS") 397 410 {
Note:
See TracChangeset
for help on using the changeset viewer.