Changeset 10491 for trunk/FACT++
- Timestamp:
- 04/29/11 12:46:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/MessageDim.cc
r10476 r10491 129 129 return; 130 130 131 const string name = getInfo()->getName(); 132 const string server = name.substr(0, name.find_first_of('/')); 133 131 134 fConnected = getInfo()->getSize()!=0; 132 135 … … 134 137 if (!fConnected) 135 138 { 136 fMsg.Message("Disconnected."); 139 // We cannot print this message because it is produced by 140 // every server which doesn't have the MESSAGE service, too. 141 //fMsg.Message(server+": Disconnected."); 137 142 return; 138 143 } … … 142 147 return; 143 148 144 const string n = getInfo()->getName();145 146 149 stringstream msg; 147 msg << n.substr(0, n.find_first_of('/'))<< ": " << getInfo()->getString();150 msg << server << ": " << getInfo()->getString(); 148 151 149 152 // Write the received message to the output
Note:
See TracChangeset
for help on using the changeset viewer.