diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-02 23:55:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-02 23:55:15 +0300 |
commit | 4882bc420186a4aef19be699e3f621dec932417d (patch) | |
tree | 4bd45d158a1a1470d590edbbb71098721d650333 /protocols/AimOscar/src/connection.cpp | |
parent | 10091bbca1380a1d8e3b9d61b8c175490036af5b (diff) |
MS_SYSTEM_* services became functions
Diffstat (limited to 'protocols/AimOscar/src/connection.cpp')
-rwxr-xr-x | protocols/AimOscar/src/connection.cpp | 2 |
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
|