Changeset 5418 for source/ariba
- Timestamp:
- Jul 29, 2009, 2:16:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/transport/rfcomm/rfcomm.cpp
r5410 r5418 10 10 #include <memory.h> 11 11 #include <deque> 12 #include <cerrno> 12 13 13 14 namespace ariba { … … 202 203 void rfcomm::handle_accept(const error_code& error, link_info* info) { 203 204 if (error) { 204 logging_error( "Error waiting for new connections : " << error205 logging_error( "Error waiting for new connections. Error code: "<< strerror(errno) 205 206 << ", trying to recover (attempt " << accept_retries << ")"); 206 207 … … 238 239 void rfcomm::handle_connect( const error_code& error, link_info* info ) { 239 240 if (error) { 240 logging_error( "Can not connect. Retrying ... "241 logging_error( "Can not connect. Error code: "<< strerror(errno) << " Retrying ... " 241 242 "(attempt " << info->connect_retries << ")" ); 242 243 … … 298 299 // handle error 299 300 if (error) { 300 logging_error("Failed to receive message payload. ");301 logging_error("Failed to receive message payload. Error code: "<< strerror(errno)); 301 302 shutdown(info); 302 303 return; … … 334 335 // check error 335 336 if (error) { 336 logging_error("Failed to receive message payload. ");337 logging_error("Failed to receive message payload. Error code: "<< strerror(errno)); 337 338 shutdown(info); 338 339 return; … … 391 392 // handle error 392 393 if (error) { 393 logging_error( "Message sent error ");394 logging_error( "Message sent error. Error code: "<< strerror(errno) ); 394 395 shutdown(info); 395 396 return;
Note:
See TracChangeset
for help on using the changeset viewer.