Changeset 5422
- Timestamp:
- Jul 29, 2009, 2:39:16 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/transport/rfcomm/rfcomm.cpp
r5418 r5422 203 203 void rfcomm::handle_accept(const error_code& error, link_info* info) { 204 204 if (error) { 205 logging_error( "Error waiting for new connections. Error code: "<< strerror(errno)205 logging_error( "Error waiting for new connections. Error code: "<< error.message() 206 206 << ", trying to recover (attempt " << accept_retries << ")"); 207 207 … … 239 239 void rfcomm::handle_connect( const error_code& error, link_info* info ) { 240 240 if (error) { 241 logging_error( "Can not connect. Error code: "<< strerror(errno) << " Retrying ... " 241 logging_error( "Can not connect. Error code: " 242 << error.message() << " Retrying ... " 242 243 "(attempt " << info->connect_retries << ")" ); 243 244 … … 299 300 // handle error 300 301 if (error) { 301 logging_error("Failed to receive message payload. Error code: "<< strerror(errno)); 302 logging_error("Failed to receive message payload. Error code: " 303 << error.message() ); 302 304 shutdown(info); 303 305 return; … … 335 337 // check error 336 338 if (error) { 337 logging_error("Failed to receive message payload. Error code: "<< strerror(errno)); 339 logging_error("Failed to receive message payload. Error code: " 340 << error.message() ); 338 341 shutdown(info); 339 342 return; … … 392 395 // handle error 393 396 if (error) { 394 logging_error( "Message sent error. Error code: "<< strerror(errno) );397 logging_error( "Message sent error. Error code: "<< error.message() ); 395 398 shutdown(info); 396 399 return;
Note:
See TracChangeset
for help on using the changeset viewer.