summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/AimOscar/src/file.cpp')
-rw-r--r--protocols/AimOscar/src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/file.cpp b/protocols/AimOscar/src/file.cpp
index f98060d924..9e075e3f79 100644
--- a/protocols/AimOscar/src/file.cpp
+++ b/protocols/AimOscar/src/file.cpp
@@ -540,7 +540,7 @@ file_transfer::file_transfer(MCONTACT hCont, char* nick, char* cookie)
if (cookie)
memcpy(icbm_cookie, cookie, 8);
else
- CallService(MS_UTILS_GETRANDOM, 8, (LPARAM)icbm_cookie);
+ Utils_GetRandom(icbm_cookie, 8);
hResumeEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
}