diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-15 00:23:23 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-15 00:23:23 +0100 |
commit | d97f51b59a3ac6d9557ebd1e42a45928fe064b4b (patch) | |
tree | ede093538c24852e31c59e1527cfd0c4ea13409e /protocols/msn/ns.c | |
parent | d912fe4783cc9f5c2e7204f810df420359d5bee8 (diff) |
Fix issues with logging in with huge SSO tickets (hilariously, the 1024-
byte buffer was just one byte too short, resulting in a \r-terminated
login line and the server waiting for the \n). Also using xt_find_path().
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r-- | protocols/msn/ns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index 23b8f3b1..5bf07c3e 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -704,7 +704,7 @@ void msn_auth_got_passport_token( struct im_connection *ic, char *token ) md = ic->proto_data; { - char buf[1024]; + char buf[1536]; g_snprintf( buf, sizeof( buf ), "USR %d SSO S %s %s\r\n", ++md->trId, md->tokens[0], token ); msn_write( ic, buf, strlen( buf ) ); |