Changeset 5422 for source/ariba


Ignore:
Timestamp:
Jul 29, 2009, 2:39:16 PM (15 years ago)
Author:
mies
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/transport/rfcomm/rfcomm.cpp

    r5418 r5422  
    203203void rfcomm::handle_accept(const error_code& error, link_info* info) {
    204204        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()
    206206                                << ", trying to recover (attempt " << accept_retries << ")");
    207207
     
    239239void rfcomm::handle_connect( const error_code& error, link_info* info ) {
    240240        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 ... "
    242243                                "(attempt " << info->connect_retries << ")" );
    243244
     
    299300        // handle error
    300301        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() );
    302304                shutdown(info);
    303305                return;
     
    335337        // check error
    336338        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() );
    338341                shutdown(info);
    339342                return;
     
    392395        // handle error
    393396        if (error) {
    394                 logging_error( "Message sent error. Error code: "<< strerror(errno) );
     397                logging_error( "Message sent error. Error code: "<< error.message() );
    395398                shutdown(info);
    396399                return;
Note: See TracChangeset for help on using the changeset viewer.