Changeset 10780 for trunk/FACT++/src/Connection.cc
- Timestamp:
- 05/23/11 15:04:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Connection.cc
r10731 r10780 81 81 if (IsConnected()) 82 82 { 83 stringstream str;83 ostringstream str; 84 84 str << "Connection closed to " << URL() << "."; 85 85 Message(str); … … 126 126 if (error && error!=ba::error::basic_errors::operation_aborted) 127 127 { 128 stringstream str;128 ostringstream str; 129 129 str << "Write timeout of " << URL() << ": " << error.message() << " (" << error << ")";// << endl; 130 130 Error(str); … … 157 157 if (error) 158 158 { 159 stringstream str;159 ostringstream str; 160 160 str << "Writing to " << URL() << ": " << error.message() << " (" << error << ")";// << endl; 161 161 Error(str); … … 165 165 } 166 166 167 stringstream msg;167 ostringstream msg; 168 168 msg << n << " bytes successfully sent to " << URL(); 169 169 Message(msg); … … 239 239 if (error && error!=ba::error::basic_errors::operation_aborted) 240 240 { 241 stringstream str;241 ostringstream str; 242 242 str << "Connetion timer of " << URL() << ": " << error.message() << " (" << error << ")";// << endl; 243 243 Error(str); … … 286 286 fConnectionStatus = kConnecting; 287 287 288 stringstream msg;288 ostringstream msg; 289 289 if (!host.empty()) 290 290 msg << "Connecting to " << host << ": " << error.message() << " (" << error << ")"; … … 327 327 tcp::resolver::iterator iterator = resolver.resolve(query, ec); 328 328 329 stringstream msg;329 ostringstream msg; 330 330 if (!fAddress.empty() || !fPort.empty() || ec) 331 331 msg << "Trying to connect to " << URL() << "...";
Note:
See TracChangeset
for help on using the changeset viewer.