diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-06 11:17:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-06 11:17:05 +0000 |
commit | 524c1500c08bffc647778bddc97bf61fe66b595a (patch) | |
tree | 009201020b4fc8284d582686968f32318799c03e /protocols | |
parent | 9530bdbdcfe97708479d140378e03b139abca07f (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Twitter/utility.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |