aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/msn_util.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-15 00:23:23 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-15 00:23:23 +0100
commitd97f51b59a3ac6d9557ebd1e42a45928fe064b4b (patch)
treeede093538c24852e31c59e1527cfd0c4ea13409e /protocols/msn/msn_util.c
parentd912fe4783cc9f5c2e7204f810df420359d5bee8 (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/msn_util.c')
-rw-r--r--protocols/msn/msn_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c
index 84d68b8c..069e68b8 100644
--- a/protocols/msn/msn_util.c
+++ b/protocols/msn/msn_util.c
@@ -64,8 +64,7 @@ static char *adlrml_entry( const char *handle_, msn_buddy_flags_t list )
strcpy( handle, handle_ );
if( ( domain = strchr( handle, '@' ) ) )
- *(domain
- ++) = '\0';
+ *(domain++) = '\0';
else
return NULL;