diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-18 11:48:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-18 11:48:46 +0000 |
commit | 563378c993b1c08a1bbe23e8f6c372c675c38e7a (patch) | |
tree | 798ec8ba61d351cd2ebe0e39737848d3b2495f46 /plugins/Quotes/src/HTTPSession.cpp | |
parent | 914f4263b866f546311b4f8e3a95ff816770783f (diff) |
- naming conflict;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14986 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/HTTPSession.cpp')
-rw-r--r-- | plugins/Quotes/src/HTTPSession.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/Quotes/src/HTTPSession.cpp b/plugins/Quotes/src/HTTPSession.cpp index 7c4e3f92b9..7390b2817f 100644 --- a/plugins/Quotes/src/HTTPSession.cpp +++ b/plugins/Quotes/src/HTTPSession.cpp @@ -128,23 +128,18 @@ namespace virtual bool OpenURL(const tstring& rsURL)
{
- // USES_CONVERSION;
-
m_aURL.swap(TBuffer());
std::string s = quotes_t2a(rsURL.c_str());
- const char* psz = s.c_str();//T2CA(rsURL.c_str());
+ const char* psz = s.c_str();
m_aURL.insert(m_aURL.begin(), psz, psz + mir_strlen(psz) + 1);
return true;
-
}
+
virtual bool ReadResponce(tstring& rsResponce)const
{
if (true == m_aURL.empty())
- {
return false;
- }
-
NETLIBHTTPREQUEST nlhr = { 0 };
nlhr.cbSize = sizeof(nlhr);
|