Changeset 644b808 for lib


Ignore:
Timestamp:
2011-12-26T10:50:34Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
5f40da7
Parents:
9a1c14d
Message:

A few more minor cleanups before merging this into mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/oauth2.c

    r9a1c14d r644b808  
    117117                atoken = oauth2_json_dumb_get( req->reply_body, "access_token" );
    118118                rtoken = oauth2_json_dumb_get( req->reply_body, "refresh_token" );
    119                 if( getenv( "BITLBEE_DEBUG" ) )
    120                         printf( "Extracted atoken=%s rtoken=%s\n", atoken, rtoken );
    121119        }
    122120        else
     
    130128                oauth_params_free( &p_in );
    131129        }
     130        if( getenv( "BITLBEE_DEBUG" ) )
     131                printf( "Extracted atoken=%s rtoken=%s\n", atoken, rtoken );
     132       
    132133        cb_data->func( cb_data->data, atoken, rtoken );
    133134        g_free( atoken );
Note: See TracChangeset for help on using the changeset viewer.