* Generate a random message cookie
*/
for (i=0;i<8;i++)
- curbyte += aimutil_put8(newpacket->data+curbyte, (u_char) random());
+ curbyte += aimutil_put8(newpacket->data+curbyte, (u_char) rand());
aim_cachecookie(sess, aim_mkcookie(newpacket->data+curbyte-8, AIM_COOKIETYPE_CHAT, NULL));
if (detaillevel != 0x02) {
if (detaillevel == 0x01)
- printf("faim: chat_roomupdateinfo: detail level 2 not supported\n");
+ printf("faim: chat_roomupdateinfo: detail level 1 not supported\n");
else
printf("faim: chat_roomupdateinfo: unknown detail level %d\n", detaillevel);
return 1;