summaryrefslogtreecommitdiff
path: root/protocols/AimOscar
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
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')
-rw-r--r--protocols/AimOscar/client.cpp3
-rw-r--r--protocols/AimOscar/server.cpp3
-rw-r--r--protocols/AimOscar/version.h7
3 files changed, 7 insertions, 6 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));
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 <http://www.gnu.org/licenses/>.
*/
#include "aim.h"
#include "version.h"
+#include <m_version.h>
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 <http://www.gnu.org/licenses/>.
*/
-#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)