diff options
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);
|