fix log settings not applying to command data

This commit is contained in:
Martin Michelsen
2023-09-22 17:45:31 -07:00
parent de9d52b352
commit 0df670893f
4 changed files with 27 additions and 26 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ static void forward_command(shared_ptr<ProxyServer::LinkedSession> ses, bool to_
if (!ch.connected()) {
proxy_server_log.warning("No endpoint is present; dropping command");
} else {
ch.send(command, flag, data, print_contents);
ch.send(command, flag, data, !print_contents);
}
}