From 70042e090628cf7778704fa3bf8faa8390f8066d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 5 Jan 2025 20:43:29 +0100 Subject: [PATCH] Add comment --- Common/Net/HTTPClient.cpp | 2 +- Core/HLE/sceNetInet.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Common/Net/HTTPClient.cpp b/Common/Net/HTTPClient.cpp index b002c94adc..6d1aa1743a 100644 --- a/Common/Net/HTTPClient.cpp +++ b/Common/Net/HTTPClient.cpp @@ -556,7 +556,7 @@ int HTTPRequest::Perform(const std::string &url) { } if (!client.Connect(2, 20.0, &cancelled_)) { - ERROR_LOG(Log::HTTP, "Failed connecting to server or cancelled."); + ERROR_LOG(Log::HTTP, "Failed connecting to server or cancelled (=%d).", cancelled_); return -1; } diff --git a/Core/HLE/sceNetInet.cpp b/Core/HLE/sceNetInet.cpp index 035cec0610..a3d13b537d 100644 --- a/Core/HLE/sceNetInet.cpp +++ b/Core/HLE/sceNetInet.cpp @@ -640,6 +640,9 @@ static u32 sceNetInetInetAddr(const char *hostname) { sceNetInet->SetLastErrorToMatchPlatform(); return inAddr.s_addr; } + + // TODO: Should this return ret or inAddr.sAddr? Conflicting info between the two PRs! + return hleLogSuccessI(Log::sceNet, ret); }