summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/client.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-03 12:23:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-03 12:23:43 +0000
commit158516fc55b5e38fd3d5cd67150cc85a5162f76b (patch)
tree6d51fec36e05c36d842287b8b20c624acb53d234 /protocols/AimOscar/client.cpp
parent428dc4b401dbadfb37282789dfb95f74726cf4f3 (diff)
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
Diffstat (limited to 'protocols/AimOscar/client.cpp')
-rw-r--r--protocols/AimOscar/client.cpp3
1 files changed, 2 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
*/
#include "aim.h"
#include "version.h"
+#include <m_version.h>
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));