summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-02 23:55:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-02 23:55:15 +0300
commit4882bc420186a4aef19be699e3f621dec932417d (patch)
tree4bd45d158a1a1470d590edbbb71098721d650333 /protocols/AimOscar/src/connection.cpp
parent10091bbca1380a1d8e3b9d61b8c175490036af5b (diff)
MS_SYSTEM_* services became functions
Diffstat (limited to 'protocols/AimOscar/src/connection.cpp')
-rwxr-xr-xprotocols/AimOscar/src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/connection.cpp b/protocols/AimOscar/src/connection.cpp
index 45f7416536..cb4fbf092f 100755
--- a/protocols/AimOscar/src/connection.cpp
+++ b/protocols/AimOscar/src/connection.cpp
@@ -391,7 +391,7 @@ void __cdecl CAimProto::aim_protocol_negotiation(void*)
{
unsigned short offset = 0;
char client_id[64], mirver[64];
- CallService(MS_SYSTEM_GETVERSIONTEXT, sizeof(mirver), (LPARAM)mirver);
+ Miranda_GetVersionText(mirver, sizeof(mirver));
int client_id_len = mir_snprintf(client_id, "Miranda AIM, version %s", mirver);
char* buf_ = (char*)alloca(SNAC_SIZE + TLV_HEADER_SIZE * 8 + COOKIE_LENGTH + client_id_len + 30); //TODO: correct length