diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-03 09:32:12 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-03 09:32:12 +0000 |
commit | 0e43801b96fb8d702294d8b0dce1b6eff37caeff (patch) | |
tree | a27da7cc38d6bfd526bdb64f4c53d07fb7e16d97 /protocols/SkypeWeb/src/requests/messages.h | |
parent | 1e24475e4e8f96476c08657f3c90a5af1b4e8389 (diff) |
SkypeWeb: Code optimization.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/messages.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/messages.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/messages.h b/protocols/SkypeWeb/src/requests/messages.h index 3aba9a4fc4..07fbfc6e61 100644 --- a/protocols/SkypeWeb/src/requests/messages.h +++ b/protocols/SkypeWeb/src/requests/messages.h @@ -106,8 +106,7 @@ public: << FORMAT_VALUE("RegistrationToken", "registrationToken=%s", regToken)
<< CHAR_VALUE("Content-Type", "application/json; charset=UTF-8");
- CMStringA data;
- data.AppendFormat("{\"consumptionhorizon\":\"%lld000;%lld000;%lld000\"}", msgTimestamp, time(NULL), msgId);
+ CMStringA data(::FORMAT, "{\"consumptionhorizon\":\"%lld000;%lld000;%lld000\"}", msgTimestamp, time(NULL), msgId);
Body << VALUE(data);
}
};
|