- Timestamp:
- 09/05/11 16:24:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ConnectionUSB.cc
r11921 r11963 67 67 { 68 68 ostringstream str; 69 str << "C onnection closedto " << URL() << ".";69 str << "Closing connection to " << URL() << "."; 70 70 Info(str); 71 71 } … … 74 74 bs::error_code ec; 75 75 cancel(ec); 76 if ( !ec)76 if (ec) 77 77 Error("Cancel async requests on "+URL()+": "+ec.message()); 78 78 … … 80 80 { 81 81 close(ec); 82 if ( !ec)82 if (ec) 83 83 Error("Closing "+URL()+": "+ec.message()); 84 84 } … … 248 248 249 249 ostringstream msg; 250 msg << "Connecting to " << URL() << "... ";250 msg << "Connecting to " << URL() << "... "; 251 251 if (ec) 252 252 msg << " " << ec.message() << " (" << ec << ")";
Note:
See TracChangeset
for help on using the changeset viewer.