# HG changeset patch # User Eric Warmenhoven # Date 984265940 0 # Node ID 9fe7b059d2a5f5ae7741e8c95f8f7618ef1b724f # Parent 72235e3fcff6ea435b4dcb606ee60a407321d4cd [gaim-migrate @ 1571] fix a bad segfault. committer: Tailor Script diff -r 72235e3fcff6 -r 9fe7b059d2a5 plugins/yay/rxhandlers.c --- a/plugins/yay/rxhandlers.c Sat Mar 10 22:42:47 2001 +0000 +++ b/plugins/yay/rxhandlers.c Sat Mar 10 23:12:20 2001 +0000 @@ -190,8 +190,13 @@ case YAHOO_SERVICE_LOGOFF: case YAHOO_SERVICE_ISAWAY: case YAHOO_SERVICE_ISBACK: + yahoo_parse_status(sess, pkt); + break; case YAHOO_SERVICE_NEWCONTACT: - yahoo_parse_status(sess, pkt); + if (yahoo_makeint(pkt->msgtype) == 3) + yahoo_parse_message(sess, pkt); + else + yahoo_parse_status(sess, pkt); break; case YAHOO_SERVICE_IDACT: CALLBACK(sess, YAHOO_HANDLE_ACTIVATE, pkt->content);