Changeset 02bb9db for protocols/msn/ns.c


Ignore:
Timestamp:
2010-08-29T09:39:27Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
64768d4
Parents:
feb1bad
Message:

Handle payloads attached to errors (assume any number in cmd[2] would be
a payload length, which seems like a fair assumption). This should solve
problems with logging in with dodgy contact/membership lists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    rfeb1bad r02bb9db  
    519519                        return( 0 );
    520520                }
     521               
     522                /* Oh yes, errors can have payloads too now. Discard them for now. */
     523                if( num_parts >= 3 )
     524                        md->handler->msglen = atoi( cmd[2] );
    521525        }
    522526        else
Note: See TracChangeset for help on using the changeset viewer.