Logging improvement

This commit is contained in:
Henrik Rydgård
2023-12-29 11:44:22 +01:00
parent 2160abb5ec
commit e6bc3d83f8
6 changed files with 16 additions and 10 deletions
+2 -2
View File
@@ -178,7 +178,7 @@ bool Connection::Connect(int maxTries, double timeout, bool *cancelConnect) {
selectResult = select(maxfd, nullptr, &fds, nullptr, &tv);
if (cancelConnect && *cancelConnect) {
WARN_LOG(HTTP, "connect(%d): cancelled (1)", sock);
WARN_LOG(HTTP, "connect: cancelled (1)");
break;
}
}
@@ -197,7 +197,7 @@ bool Connection::Connect(int maxTries, double timeout, bool *cancelConnect) {
}
if (cancelConnect && *cancelConnect) {
WARN_LOG(HTTP, "connect(%d): cancelled (2)", sock);
WARN_LOG(HTTP, "connect: cancelled (2)");
break;
}