Revision 53a2863ad47fd4f4e5a044af320bc59b0ee6056c

jeff2 at soc.pidgin.im jeff2 at soc.pidgin.im
Sun Aug 12 14:49:47 EDT 2007


-----------------------------------------------------------------
Revision: 53a2863ad47fd4f4e5a044af320bc59b0ee6056c
Ancestor: c9db1677966a39971368db3ac3619e7cba3c4909
Author: jeff2 at soc.pidgin.im
Date: 2007-08-12T18:48:03
Branch: im.pidgin.soc.2007.msimprpl

Modified files:
        libpurple/protocols/myspace/message.c
        libpurple/protocols/myspace/myspace.c

ChangeLog: 

Only say we are connected after the MsimSession structure is fully setup.
(Also change a few debugging statements to help find this bug.)

Previously, purple_connection_set_state(..., PURPLE_CONNECTED) was called
too early, so that if a client called any msimprpl functions that operated
on MsimSession (pretty much all of them) within the signed-on signal handler,
the userid etc., would not yet be correct and the call would fail. Now, the
call is called at the right time so it works as expected.

Closes #2520.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 53a2863ad47fd4f4e5a044af320bc59b0ee6056c.diff
Type: text/x-diff
Size: 2708 bytes
Desc: not available
Url : http://pidgin.im/pipermail/commits/attachments/20070812/90ba8f38/attachment.diff 


More information about the Commits mailing list