forked from lix-project/lix
Drop trailing whitespace
This commit is contained in:
parent
c03f41055d
commit
965dc6070a
|
@ -856,7 +856,7 @@ FileTransferError::FileTransferError(FileTransfer::Error error, std::shared_ptr<
|
||||||
// to print different messages for different verbosity levels. For now
|
// to print different messages for different verbosity levels. For now
|
||||||
// we add some heuristics for detecting when we want to show the response.
|
// we add some heuristics for detecting when we want to show the response.
|
||||||
if (response && (response->size() < 1024 || response->find("<html>") != string::npos))
|
if (response && (response->size() < 1024 || response->find("<html>") != string::npos))
|
||||||
err.msg = hintfmt("%1%\n\nresponse body:\n\n%2%", normaltxt(hf.str()), *response);
|
err.msg = hintfmt("%1%\n\nresponse body:\n\n%2%", normaltxt(hf.str()), chomp(*response));
|
||||||
else
|
else
|
||||||
err.msg = hf;
|
err.msg = hf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue