diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-10 16:13:20 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-10-10 16:13:20 +0000 |
commit | 7177cd4cc38bb73338631381b802a7f7f6845f62 (patch) | |
tree | 829b720d576e3d0811da04f646ccf4cfaa66024b /protocols/SkypeWeb/src/http_request.h | |
parent | 9356d0a22b3674d2ae6b1f157abb0bdf11f82dca (diff) |
SkypeWeb: removed persistent connection flag
git-svn-id: http://svn.miranda-ng.org/main/trunk@15529 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/http_request.h')
-rw-r--r-- | protocols/SkypeWeb/src/http_request.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index a652f6ae90..90d552358c 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -223,13 +223,9 @@ protected: {
va_list args;
va_start(args, fmt);
- if (url.Find('?') == -1)
- url += '?';
- else
- url += '&';
+ url += (url.Find('?') == -1) ? '?' : '&';
url.AppendFormatV(fmt, args);
va_end(args);
-
szUrl = url.GetBuffer();
}
@@ -244,6 +240,7 @@ public: cbSize = sizeof(NETLIBHTTPREQUEST);
flags = NLHRF_HTTP11 | NLHRF_SSL | NLHRF_DUMPASTEXT;
requestType = type;
+ pData = NULL;
}
HttpRequest(int type, HttpRequestUrlFormat, LPCSTR urlFormat, ...)
@@ -253,6 +250,7 @@ public: flags = NLHRF_HTTP11 | NLHRF_SSL | NLHRF_DUMPASTEXT;
requestType = type;
va_end(formatArgs);
+ pData = NULL;
}
~HttpRequest()
|