From 080c43a862bca535e51682423afc9d0f75ea1d02 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 16 Sep 2012 14:52:19 +0100 Subject: Some more tweaks: Should show up online now, and be able to send and receive messages. Seeing online state is still a problem due to the protocol#: gunk. --- protocols/msn/ns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/msn/ns.c') diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index b613b557..f8f18c80 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -573,8 +573,8 @@ static int msn_ns_command( struct msn_handler_data *handler, char **cmd, int num else if( strcmp( cmd[0], "UBX" ) == 0 ) { /* Status message. */ - if( num_parts >= 4 ) - handler->msglen = atoi( cmd[3] ); + if( num_parts >= 3 ) + handler->msglen = atoi( cmd[2] ); } else if( strcmp( cmd[0], "NOT" ) == 0 ) { -- cgit v1.2.3