]> andersk Git - libfaim.git/blobdiff - aim_chat.c
- Wed Nov 8 02:23:25 UTC 2000
[libfaim.git] / aim_chat.c
index cf7a21b5394fe13ac4eccaab402ba70d6f30a4ca..ee40b0ab281107bdb9669f7d907a1f1b5c3c303a 100644 (file)
@@ -68,7 +68,7 @@ faim_export unsigned long aim_chat_send_im(struct aim_session_t *sess,
    * 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));
 
This page took 0.0369 seconds and 4 git commands to generate.