comparison src/protocols/oscar/oscar.c @ 11873:346bd669c8f2

[gaim-migrate @ 14164] some error prevention from Casey Harkins. see patch 1340762 committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 28 Oct 2005 15:43:15 +0000
parents fa742ad8068c
children 700ec4523c04
comparison
equal deleted inserted replaced
11872:ea0f39933003 11873:346bd669c8f2
7517 } 7517 }
7518 7518
7519 if (userinfo != NULL ) { 7519 if (userinfo != NULL ) {
7520 /* if (userinfo->flags & AIM_FLAG_UNCONFIRMED) 7520 /* if (userinfo->flags & AIM_FLAG_UNCONFIRMED)
7521 emblems[i++] = "unconfirmed"; */ 7521 emblems[i++] = "unconfirmed"; */
7522 if (userinfo->flags & AIM_FLAG_ADMINISTRATOR) 7522 if ((i < 4) && userinfo->flags & AIM_FLAG_ADMINISTRATOR)
7523 emblems[i++] = "admin"; 7523 emblems[i++] = "admin";
7524 if (userinfo->flags & AIM_FLAG_AOL) 7524 if ((i < 4) && userinfo->flags & AIM_FLAG_AOL)
7525 emblems[i++] = "aol"; 7525 emblems[i++] = "aol";
7526 if (userinfo->flags & AIM_FLAG_WIRELESS) 7526 if ((i < 4) && userinfo->flags & AIM_FLAG_WIRELESS)
7527 emblems[i++] = "wireless"; 7527 emblems[i++] = "wireless";
7528 if (userinfo->flags & AIM_FLAG_ACTIVEBUDDY) 7528 if ((i < 4) && userinfo->flags & AIM_FLAG_ACTIVEBUDDY)
7529 emblems[i++] = "activebuddy"; 7529 emblems[i++] = "activebuddy";
7530 7530
7531 if ((i < 4) && (userinfo->capabilities & AIM_CAPS_HIPTOP)) 7531 if ((i < 4) && (userinfo->capabilities & AIM_CAPS_HIPTOP))
7532 emblems[i++] = "hiptop"; 7532 emblems[i++] = "hiptop";
7533 7533