diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-09-16 14:52:19 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-09-16 14:52:19 +0100 |
commit | 080c43a862bca535e51682423afc9d0f75ea1d02 (patch) | |
tree | 7d265fde60504f9fb47de731fae8117ea1234ca9 /protocols/msn/ns.c | |
parent | f9258aead615ef9b87baa1754777fd5faf867fe1 (diff) |
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.
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r-- | protocols/msn/ns.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |