summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/avatars.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-21 13:30:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-21 13:30:53 +0300
commit206f15f700b31dc45c2ad6b7c1ec21142d6a38a5 (patch)
tree035f7a89aeeb3cf07c9d45e495a5ec9fbf3b1d41 /protocols/SkypeWeb/src/requests/avatars.h
parentb6330f119c9f253d470dac46b20335811a8e0676 (diff)
warning fix
Diffstat (limited to 'protocols/SkypeWeb/src/requests/avatars.h')
-rw-r--r--protocols/SkypeWeb/src/requests/avatars.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/requests/avatars.h b/protocols/SkypeWeb/src/requests/avatars.h
index 0715e5c552..97b5460416 100644
--- a/protocols/SkypeWeb/src/requests/avatars.h
+++ b/protocols/SkypeWeb/src/requests/avatars.h
@@ -31,7 +31,7 @@ class SetAvatarRequest : public HttpRequest
{
public:
SetAvatarRequest(const PBYTE data, size_t dataSize, const char *szMime, LoginInfo &li) :
- HttpRequest(REQUEST_PUT, FORMAT, "api.skype.com/users/%s/profile/avatar", CMStringA(li.szSkypename.get()).MakeLower())
+ HttpRequest(REQUEST_PUT, FORMAT, "api.skype.com/users/%s/profile/avatar", CMStringA(li.szSkypename.get()).MakeLower().c_str())
{
Headers
<< CHAR_VALUE("X-Skypetoken", li.api.szToken)