Changeset c153808 for protocols/jabber


Ignore:
Timestamp:
2013-05-25T10:36:34Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
420ddc00
Parents:
be9f3f1
Message:

Fix OAuth2 error reporting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/sasl.c

    rbe9f3f1 rc153808  
    483483}
    484484
    485 static void sasl_oauth2_got_token( gpointer data, const char *access_token, const char *refresh_token );
     485static void sasl_oauth2_got_token( gpointer data, const char *access_token, const char *refresh_token, const char *error );
    486486
    487487int sasl_oauth2_get_refresh_token( struct im_connection *ic, const char *msg )
     
    514514}
    515515
    516 static void sasl_oauth2_got_token( gpointer data, const char *access_token, const char *refresh_token )
     516static void sasl_oauth2_got_token( gpointer data, const char *access_token, const char *refresh_token, const char *error )
    517517{
    518518        struct im_connection *ic = data;
     
    527527        if( access_token == NULL )
    528528        {
    529                 imcb_error( ic, "OAuth failure (missing access token)" );
     529                imcb_error( ic, "OAuth failure (%s)", error );
    530530                imc_logout( ic, TRUE );
    531531                return;
Note: See TracChangeset for help on using the changeset viewer.