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 ++- protocols/AimOscar/server.cpp | 3 ++- protocols/AimOscar/version.h | 7 +++---- 3 files changed, 7 insertions(+), 6 deletions(-) (limited to 'protocols/AimOscar') 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)); diff --git a/protocols/AimOscar/server.cpp b/protocols/AimOscar/server.cpp index 800f90a882..0ab681b97b 100644 --- a/protocols/AimOscar/server.cpp +++ b/protocols/AimOscar/server.cpp @@ -18,6 +18,7 @@ along with this program. If not, see . */ #include "aim.h" #include "version.h" +#include void CAimProto::snac_md5_authkey(SNAC &snac,HANDLE hServerConn,unsigned short &seqno, const char* username, const char* password)//family 0x0017 { @@ -1068,7 +1069,7 @@ void CAimProto::snac_contact_list(SNAC &snac,HANDLE hServerConn,unsigned short & if (getDword(AIM_KEY_LV, 0) < 0x80500) { upload_nicks(); - setDword(AIM_KEY_LV, __VERSION_DWORD); + setDword(AIM_KEY_LV, MIRANDA_VERSION_DWORD); } if (getByte(AIM_KEY_CM, 0)) diff --git a/protocols/AimOscar/version.h b/protocols/AimOscar/version.h index b85995d3a5..cd1ad86ac6 100644 --- a/protocols/AimOscar/version.h +++ b/protocols/AimOscar/version.h @@ -15,7 +15,6 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#define __FILEVERSION_STRING 0,92,2,0 -#define __VERSION_STRING "0.92.2.0" -#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0, 92, 2, 0) - +#define __FILEVERSION_STRING 0,11,0,1 +#define __VERSION_STRING "0.11.0.1" +#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0,11,0,1) -- cgit v1.2.3