aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.cpp
diff options
context:
space:
mode:
authorp0358 <p0358@users.noreply.github.com>2022-01-01 02:51:42 +0100
committerp0358 <p0358@users.noreply.github.com>2022-01-01 02:51:42 +0100
commit8327cd3e13f80cde3c0b0f6482e400793e67007f (patch)
tree136ec4226d33e1c81e7215e2e79e0fe3e7fb6b18 /NorthstarDedicatedTest/masterserver.cpp
parent23a7ac1ef5c3e5f35c40f738d9140311ef1d3fdb (diff)
downloadNorthstarLauncher-8327cd3e13f80cde3c0b0f6482e400793e67007f.tar.gz
NorthstarLauncher-8327cd3e13f80cde3c0b0f6482e400793e67007f.zip
log curl output to the windows console (I think it was intended to work, but it doesn't if you use original exe before this change)
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.cpp')
-rw-r--r--NorthstarDedicatedTest/masterserver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp
index 98189733..01f4bc8e 100644
--- a/NorthstarDedicatedTest/masterserver.cpp
+++ b/NorthstarDedicatedTest/masterserver.cpp
@@ -95,7 +95,8 @@ void MasterServerManager::SetCommonHttpClientOptions(CURL* curl)
{
curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
- if (CommandLine()->CheckParm("-msinsecure"))
+ //curl_easy_setopt(curl, CURLOPT_STDERR, stdout);
+ if (CommandLine()->FindParm("-msinsecure")) // TODO: this check doesn't seem to work
{
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);