mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Slightly improved logging (httpserver)
This commit is contained in:
1 parent
841eb115e2
commit
f2d8d44513
3 files changed
+18
-17
No files matched your search
+5
-4
@@ -413,9 +413,9 @@ static void ExecuteWebServer() {
|
||||
http->SetFallbackHandler(&HandleFallback);
|
||||
http->RegisterHandler("/debugger", &ForwardDebuggerRequest);
|
||||
|
||||
if (!http->Listen(g_Config.iRemoteISOPort)) {
|
||||
if (!http->Listen(0)) {
|
||||
ERROR_LOG(Log::FileSystem, "Unable to listen on any port");
|
||||
if (!http->Listen(g_Config.iRemoteISOPort, "debugger-webserver")) {
|
||||
if (!http->Listen(0, "debugger-webserver")) {
|
||||
ERROR_LOG(Log::FileSystem, "Unable to listen on any port (debugger - webserver)");
|
||||
UpdateStatus(ServerStatus::FINISHED);
|
||||
return;
|
||||
}
|
||||
@@ -454,7 +454,8 @@ bool StartWebServer(WebServerFlags flags) {
|
||||
|
||||
case ServerStatus::FINISHED:
|
||||
serverThread.join();
|
||||
// Intentional fallthrough.
|
||||
[[fallthrough]]; // Intentional fallthrough.
|
||||
|
||||
case ServerStatus::STOPPED:
|
||||
serverStatus = ServerStatus::STARTING;
|
||||
serverFlags = (int)flags;
|
||||
|
||||
Reference in new issue
Block a user