JANITORIAL: Remove spaces at the end of the line

I knew there were some, but I wanted to fix them once, instead of doing
it all the time.
This commit is contained in:
Alexander Tkachev 2016-07-21 11:44:36 +06:00
parent 01161ae7dd
commit 438ba985a4
100 changed files with 344 additions and 344 deletions

View file

@ -48,7 +48,7 @@ NetworkReadStream *CurlRequest::makeStream() {
}
void CurlRequest::handle() {
if (!_stream) _stream = makeStream();
if (!_stream) _stream = makeStream();
if (_stream && _stream->eos()) {
if (_stream->httpResponseCode() != 200) {
@ -68,7 +68,7 @@ void CurlRequest::restart() {
//with no stream available next handle() will create another one
}
Common::String CurlRequest::date() const {
Common::String CurlRequest::date() const {
if (_stream) {
Common::String headers = _stream->responseHeaders();
const char *cstr = headers.c_str();
@ -114,7 +114,7 @@ void CurlRequest::addPostField(Common::String keyValuePair) {
void CurlRequest::addFormField(Common::String name, Common::String value) {
if (_bytesBuffer)
warning("CurlRequest: added POST form fields would be ignored, because there is buffer present");
if (_formFields.contains(name))
warning("CurlRequest: form field '%s' already had a value", name.c_str());