diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-08 16:34:49 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-08 16:34:49 +0100 |
commit | 2528cdad90271f80d2ffe0e679ff8258f3e94e4c (patch) | |
tree | 9557a527a0aca1cae02806e7aff1d9df8e3e25a9 /protocols/msn/ns.c | |
parent | b8906261293b34d8c792bd1f48df10144a8a8f10 (diff) | |
parent | ee6cc946dc4ee82cb641df94a6ba101e99253af2 (diff) |
Merging msn-offline branch. A tiny bit of MSNP13, and it works for the first
minute of the session (after that the MSN server finds out the rest of
BitlBee still speaks MSNP8).
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r-- | protocols/msn/ns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index 0be9e727..40c4cdec 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -782,6 +782,8 @@ static void msn_auth_got_passport_token( struct msn_auth_data *mad ) { char buf[1024]; + md->passport_token = g_strdup( mad->token ); + g_snprintf( buf, sizeof( buf ), "USR %d TWN S %s\r\n", ++md->trId, mad->token ); msn_write( ic, buf, strlen( buf ) ); } |