summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/captcha.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-11-26 08:44:18 +0000
committerRobert Pösel <robyer@seznam.cz>2014-11-26 08:44:18 +0000
commitc1d2d5892eda3070975bbb82ac4f2e35d7bc139e (patch)
tree5902759b93eed462f1b8815a19b9f9e35d674046 /protocols/FacebookRM/src/captcha.cpp
parentf5e38aaba573fa720894433ae746b3a7a741356e (diff)
Facebook: Various optimizations and cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11083 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/captcha.cpp')
-rw-r--r--protocols/FacebookRM/src/captcha.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/captcha.cpp b/protocols/FacebookRM/src/captcha.cpp
index 3abec878f7..b3909e53d1 100644
--- a/protocols/FacebookRM/src/captcha.cpp
+++ b/protocols/FacebookRM/src/captcha.cpp
@@ -106,7 +106,7 @@ static INT_PTR CALLBACK CaptchaFormDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam
bool FacebookProto::RunCaptchaForm(std::string captchaUrl, std::string &result)
{
debugLogA("RunCaptchaForm: reading picture from %s", captchaUrl.c_str());
- result = "";
+ result.clear();
NETLIBHTTPREQUEST req = { sizeof(req) };
req.requestType = REQUEST_GET;