Changeset 8a35d4b for protocols/msn


Ignore:
Timestamp:
2010-10-07T06:41:50Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
23b29c6
Parents:
afb9ea9
Message:

base64-decode the msg in offline msg non-delivery reports and suppress the
success report since it's mostly pointless.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/soap.c

    rafb9ea9 r8a35d4b  
    530530        else if( soap_req->http_req->status_code == 200 )
    531531        {
     532                /* Noise..
    532533                imcb_log( soap_req->ic, "Offline message successfully delivered to %s", oim->to );
     534                */
    533535                return MSN_SOAP_OK;
    534536        }
    535537        else
    536538        {
    537                 imcb_log( soap_req->ic, "Failed to deliver offline message to %s:\n%s", oim->to, oim->msg );
     539                char *dec = frombase64( oim->msg );
     540                imcb_log( soap_req->ic, "Failed to deliver offline message to %s:\n%s", oim->to, dec );
     541                g_free( dec );
    538542                return MSN_SOAP_ABORT;
    539543        }
Note: See TracChangeset for help on using the changeset viewer.