Mercurial > pidgin.yaz
comparison src/protocols/oscar/im.c @ 3255:bea080f7f5c7
[gaim-migrate @ 3273]
Miniscule Improvement in ICQ get status (Thanks, Mark Doliner)
committer: Tailor Script <tailor@pidgin.im>
author | Jim Seymour <jseymour> |
---|---|
date | Thu, 16 May 2002 02:13:45 +0000 |
parents | 56746b0868db |
children | 1e60a05c7482 |
comparison
equal
deleted
inserted
replaced
3254:d7ae897770d9 | 3255:bea080f7f5c7 |
---|---|
1993 fu8_t statusmsgtype, *msg; | 1993 fu8_t statusmsgtype, *msg; |
1994 fu16_t len; | 1994 fu16_t len; |
1995 fu32_t state; | 1995 fu32_t state; |
1996 | 1996 |
1997 len = aimbs_getle16(bs); /* Should be 0x001b */ | 1997 len = aimbs_getle16(bs); /* Should be 0x001b */ |
1998 free(aimbs_getraw(bs, len)); /* Unknown */ | 1998 aim_bstream_advance(bs, len); /* Unknown */ |
1999 | 1999 |
2000 len = aimbs_getle16(bs); /* Should be 0x000e */ | 2000 len = aimbs_getle16(bs); /* Should be 0x000e */ |
2001 free(aimbs_getraw(bs, len)); /* Unknown */ | 2001 aim_bstream_advance(bs, len); /* Unknown */ |
2002 | 2002 |
2003 statusmsgtype = aimbs_getle8(bs); | 2003 statusmsgtype = aimbs_getle8(bs); |
2004 switch (statusmsgtype) { | 2004 switch (statusmsgtype) { |
2005 case 0xe8: | 2005 case 0xe8: |
2006 state = AIM_ICQ_STATE_AWAY; | 2006 state = AIM_ICQ_STATE_AWAY; |