Changeset 10341 for trunk/FACT++/src/RemoteControl.cc
- Timestamp:
- 04/10/11 10:12:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/RemoteControl.cc
r10307 r10341 72 72 if (fCurrentServer.empty()) 73 73 { 74 if(fServiceList.HasServer(str)) 74 const size_t p1 = str.find_first_of(' '); 75 const size_t p2 = str.find_first_of('/'); 76 77 string s = str; 78 if (p2!=string::npos && p1>p2) 79 s = str.substr(0, p2); 80 81 if (p2<p1) 75 82 { 76 fCurrentServer = str; 83 const string c = str.substr(p2+1); 84 return !fCommandList.SendDimCommand(lout, s, c); 85 } 86 87 if(fServiceList.HasServer(s)) 88 { 89 fCurrentServer = s; 77 90 return false; 78 91 } 79 lout << kRed << "Unkown server '" << s tr<< "'" << endl;92 lout << kRed << "Unkown server '" << s << "'" << endl; 80 93 return true; 81 94 }
Note:
See TracChangeset
for help on using the changeset viewer.