From 158516fc55b5e38fd3d5cd67150cc85a5162f76b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Aug 2012 12:23:43 +0000 Subject: all protos got their own versions, but they still pass the core version to the outside world git-svn-id: http://svn.miranda-ng.org/main/trunk@1335 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/AimOscar/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/AimOscar/client.cpp') diff --git a/protocols/AimOscar/client.cpp b/protocols/AimOscar/client.cpp index 2e0e5c94bf..dc2155727e 100644 --- a/protocols/AimOscar/client.cpp +++ b/protocols/AimOscar/client.cpp @@ -18,6 +18,7 @@ along with this program. If not, see . */ #include "aim.h" #include "version.h" +#include int CAimProto::aim_send_connection_packet(HANDLE hServerConn,unsigned short &seqno,char *buf) { @@ -53,7 +54,7 @@ int CAimProto::aim_auth_request(HANDLE hServerConn,unsigned short &seqno,const c mir_md5_finish(&state,auth_hash); char client_id[64]; - int client_id_len = mir_snprintf(client_id, sizeof(client_id), "Miranda AIM, version %s", __VERSION_STRING); + int client_id_len = mir_snprintf(client_id, sizeof(client_id), "Miranda AIM, version %s", MIRANDA_VERSION_STRING); char* buf=(char*)alloca(SNAC_SIZE+TLV_HEADER_SIZE*14+MD5_HASH_LENGTH+strlen(username)+client_id_len+30+strlen(language)+strlen(country)); -- cgit v1.2.3