Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r64f8c425 rd6aa6dd  
    269269                    td->oauth_info && td->oauth_info->token == NULL )
    270270                {
    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 ) )
     271                        if( !oauth_access_token( message, td->oauth_info ) )
    279272                        {
    280273                                imcb_error( ic, "OAuth error: %s", "Failed to send access token request" );
Note: See TracChangeset for help on using the changeset viewer.