Changeset 02bb9db


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.

Location:
protocols
Files:
2 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
  • protocols/nogaim.c

    rfeb1bad r02bb9db  
    252252                serv_got_crap( ic, "Error: %s", text );
    253253        else
    254                 serv_got_crap( ic, "Couldn't log in: %s", text );
     254                serv_got_crap( ic, "Login error: %s", text );
    255255       
    256256        g_free( text );
Note: See TracChangeset for help on using the changeset viewer.