- Timestamp:
- 2010-06-29T23:06:07Z (14 years ago)
- Branches:
- master
- Children:
- bd64716
- Parents:
- 051372c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
r051372c r64f8c425 269 269 td->oauth_info && td->oauth_info->token == NULL ) 270 270 { 271 if( !oauth_access_token( message, td->oauth_info ) ) 271 char pin[strlen(message)+1], *s; 272 273 strcpy( pin, message ); 274 for( s = pin + sizeof( pin ) - 2; s > pin && isspace( *s ); s -- ) 275 *s = '\0'; 276 for( s = pin; *s && isspace( *s ); s ++ ) {} 277 278 if( !oauth_access_token( s, td->oauth_info ) ) 272 279 { 273 280 imcb_error( ic, "OAuth error: %s", "Failed to send access token request" );
Note: See TracChangeset
for help on using the changeset viewer.