Changeset devel,578


Ignore:
Timestamp:
2010-05-15T00:20:33Z (2 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
branch-nick:
devel
revision id:
wilmer@gaast.net-20100515002033-p1nm7mmp6gd13hj7
Message:

Passport 3.0 authentication turns out to be slightly different from what
the msnpiki MSNP13 doc says and stuff is breaking now. This should fix
the main problem now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/protocols/msn/passport.c

    r413 r578  
    145145        char *s; 
    146146         
    147         if( ( s = xt_find_attr( node, "Id" ) ) && strcmp( s, "PPToken1" ) == 0 ) 
     147        if( ( s = xt_find_attr( node, "Id" ) ) && 
     148            ( strncmp( s, "Compact", 7 ) == 0 || 
     149              strncmp( s, "PPToken", 7 ) == 0 ) ) 
    148150                mad->token = g_memdup( node->text, node->text_len + 1 ); 
    149151         
Note: See TracChangeset for help on using the changeset viewer.