summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_request.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-03-22 20:23:42 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-03-22 20:23:42 +0000
commita9edb12c2cc13a74f16c0a61deaeaa8780f13f4e (patch)
tree70e805ba7e7f7024d31d91971655a4405cb25f92 /protocols/SkypeWeb/src/skype_request.cpp
parent4ba63fe41c45077e90e24f77bcece6af9ddeafef (diff)
SkypeWeb: refactored HttpRequest
git-svn-id: http://svn.miranda-ng.org/main/trunk@12477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_request.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_request.cpp b/protocols/SkypeWeb/src/skype_request.cpp
index 1cd5d654f0..61d9754ec0 100644
--- a/protocols/SkypeWeb/src/skype_request.cpp
+++ b/protocols/SkypeWeb/src/skype_request.cpp
@@ -28,7 +28,7 @@ void CSkypeProto::PushRequest(HttpRequest *request, SkypeResponseCallback respon
CMStringA allCookies;
for (std::map<std::string, std::string>::iterator cookie = cookies.begin(); cookie != cookies.end(); ++cookie)
allCookies.AppendFormat("%s=%s; ", cookie->first.c_str(), cookie->second.c_str());
- request->SetCookie(allCookies);
+ request->Headers << CHAR_VALUE("Set-Cookie", allCookies);
}
if (response == NULL)