Changeset f8ec890


Ignore:
Timestamp:
2010-05-15T00:20:33Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
df1ae622
Parents:
6e6b3d7
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
  • protocols/msn/passport.c

    r6e6b3d7 rf8ec890  
    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.