mirror of https://github.com/aria2/aria2
clang-format
parent
6995edbf08
commit
9bdc6eb34c
|
@ -242,7 +242,7 @@ bool File::mkdirs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
} // namespace aria2
|
||||||
|
|
||||||
mode_t File::mode()
|
mode_t File::mode()
|
||||||
{
|
{
|
||||||
|
|
|
@ -389,7 +389,8 @@ ssize_t WinTLSSession::writeData(const void* data, size_t len)
|
||||||
if (state_ != st_closing) {
|
if (state_ != st_closing) {
|
||||||
A2_LOG_ERROR(fmt("WinTLS: Failed to encrypt a message! %s",
|
A2_LOG_ERROR(fmt("WinTLS: Failed to encrypt a message! %s",
|
||||||
getLastErrorString().c_str()));
|
getLastErrorString().c_str()));
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
// On closing state, don't log this message in error level
|
// On closing state, don't log this message in error level
|
||||||
// because it seems that the encryption tends to fail in that
|
// because it seems that the encryption tends to fail in that
|
||||||
// state.
|
// state.
|
||||||
|
|
Loading…
Reference in New Issue