aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/ns.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-08 16:34:49 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-08 16:34:49 +0100
commit2528cdad90271f80d2ffe0e679ff8258f3e94e4c (patch)
tree9557a527a0aca1cae02806e7aff1d9df8e3e25a9 /protocols/msn/ns.c
parentb8906261293b34d8c792bd1f48df10144a8a8f10 (diff)
parentee6cc946dc4ee82cb641df94a6ba101e99253af2 (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.c2
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 ) );
}