- Timestamp:
- 2010-04-26T21:50:48Z (15 years ago)
- Branches:
- master
- Children:
- c42e8b9
- Parents:
- acba168
- Location:
- lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/oauth.c
racba168 r713d611 298 298 st->auth_params = g_strdup( req->reply_body ); 299 299 oauth_params_parse( ¶ms, st->auth_params ); 300 st-> token = g_strdup( oauth_params_get( ¶ms, "oauth_token" ) );300 st->request_token = g_strdup( oauth_params_get( ¶ms, "oauth_token" ) ); 301 301 oauth_params_free( ¶ms ); 302 302 } 303 303 304 //st->func( st );304 st->func( st ); 305 305 } 306 306 … … 311 311 GSList *params = NULL; 312 312 313 oauth_params_add( ¶ms, "oauth_token", st-> token );313 oauth_params_add( ¶ms, "oauth_token", st->request_token ); 314 314 oauth_params_add( ¶ms, "oauth_verifier", pin ); 315 315 … … 324 324 st->access_token = g_strdup( req->reply_body ); 325 325 326 //st->func( st );326 st->func( st ); 327 327 } 328 328 -
lib/oauth.h
racba168 r713d611 35 35 36 36 char *auth_params; 37 char * token;37 char *request_token; 38 38 39 39 char *access_token;
Note: See TracChangeset
for help on using the changeset viewer.