From d97f51b59a3ac6d9557ebd1e42a45928fe064b4b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 15 Aug 2010 00:23:23 +0100 Subject: 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(). --- protocols/msn/msn_util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/msn/msn_util.c') 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; -- cgit v1.2.3