summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/asm/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/requests/asm/files.h')
-rw-r--r--protocols/SkypeWeb/src/requests/asm/files.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/asm/files.h b/protocols/SkypeWeb/src/requests/asm/files.h
index f9846c23b3..f16052150d 100644
--- a/protocols/SkypeWeb/src/requests/asm/files.h
+++ b/protocols/SkypeWeb/src/requests/asm/files.h
@@ -8,7 +8,7 @@ public:
{
flags &= (~NLHRF_DUMPASTEXT);
Headers
- << CHAR_VALUE("Authorization", CMStringA(::FORMAT, "skype_token %s", li.api.szToken))
+ << FORMAT_VALUE("Authorization", "skype_token %s", li.api.szToken)
<< CHAR_VALUE("Content-Type", "text/json");
JSONNode node, jPermissions, jPermission(JSON_ARRAY);
@@ -30,7 +30,7 @@ public:
HttpRequest(REQUEST_PUT, FORMAT, "api.asm.skype.com/v1/objects/%s/content/original", szObject)
{
Headers
- << CHAR_VALUE("Authorization", CMStringA(::FORMAT, "skype_token %s", li.api.szToken))
+ << FORMAT_VALUE("Authorization", "skype_token %s", li.api.szToken)
<< CHAR_VALUE("Content-Type", "application/octet-stream");
pData = (char*)mir_alloc(size);
@@ -40,7 +40,7 @@ public:
}
~ASMObjectUploadRequest()
{
- mir_free(pData);
HttpRequest::~HttpRequest();
+ mir_free(pData);
}
}; \ No newline at end of file