diff options
Diffstat (limited to 'protocols/SkypeWeb/src/requests/capabilities.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/capabilities.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/SkypeWeb/src/requests/capabilities.h b/protocols/SkypeWeb/src/requests/capabilities.h index eb972cafa5..fb7c668c20 100644 --- a/protocols/SkypeWeb/src/requests/capabilities.h +++ b/protocols/SkypeWeb/src/requests/capabilities.h @@ -29,18 +29,11 @@ public: << CHAR_VALUE("Content-Type", "application/json; charset=UTF-8")
<< FORMAT_VALUE("RegistrationToken", "registrationToken=%s", regToken);
- short bitness = 32;
char compName[MAX_COMPUTERNAME_LENGTH + 1];
DWORD size = SIZEOF(compName);
GetComputerNameA(compName, &size);
-#ifdef _WIN64
- bitness = 64;
-#endif
-
- CMStringA verString(::FORMAT, "%s x%d", g_szMirVer, bitness);
-
JSONNODE *node = json_new(5);
JSONNODE *privateInfo = json_new(5);
JSONNODE *publicInfo = json_new(5);
@@ -58,7 +51,7 @@ public: json_push_back(publicInfo, json_new_i("typ", 125));
json_push_back(publicInfo, json_new_a("skypeNameVersion", "Miranda NG Skype"));
json_push_back(publicInfo, json_new_a("nodeInfo", "xx"));
- json_push_back(publicInfo, json_new_a("version", verString.GetBuffer()));
+ json_push_back(publicInfo, json_new_a("version", g_szMirVer));
json_push_back(node, privateInfo);
json_push_back(node, publicInfo);
|