From 524c1500c08bffc647778bddc97bf61fe66b595a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Jun 2012 11:17:05 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Twitter/utility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Twitter') diff --git a/protocols/Twitter/utility.cpp b/protocols/Twitter/utility.cpp index 221e413253..c54aa10061 100644 --- a/protocols/Twitter/utility.cpp +++ b/protocols/Twitter/utility.cpp @@ -42,7 +42,7 @@ http::response mir_twitter::slurp(const std::string &url, http::method meth, con req.szUrl = ( char* )url.c_str(); // probably not super-efficient to do this every time, but I don't really care - std::string auth = "Basic " + b64encode(username_) + ":" + password_; + std::string auth = "Basic " + b64encode(username_ + ":" + password_); NETLIBHTTPHEADER hdr[2]; hdr[0].szName = "Authorization"; @@ -128,6 +128,6 @@ int ext_to_format(const std::string &ext) if (ext == formats[i].ext) return formats[i].fmt; } - + return PA_FORMAT_UNKNOWN; } \ No newline at end of file -- cgit v1.2.3