summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/AimOscar/src/client.cpp')
-rw-r--r--protocols/AimOscar/src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/client.cpp b/protocols/AimOscar/src/client.cpp
index b17a0cdd39..e0c9a29ec7 100644
--- a/protocols/AimOscar/src/client.cpp
+++ b/protocols/AimOscar/src/client.cpp
@@ -345,7 +345,7 @@ int CAimProto::aim_send_message(HANDLE hServerConn,unsigned short &seqno,const c
char* tlv_buf=(char*)alloca(5+msg_len+8);
char icbm_cookie[8];
- CallService(MS_UTILS_GETRANDOM, 8, (LPARAM)icbm_cookie);
+ Utils_GetRandom(icbm_cookie, sizeof(icbm_cookie));
aim_writegeneric(5,"\x05\x01\x00\x01\x01",tlv_offset,tlv_buf); // icbm im capabilities
aim_writeshort(0x0101,tlv_offset,tlv_buf); // icbm im text tag