mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Fix platform cleanup on resolveHostName() failure
This commit is contained in:
parent
dbedf938d4
commit
327917683a
@ -104,7 +104,8 @@ unsigned int LiTestClientConnectivity(const char* testServer, unsigned short ref
|
||||
|
||||
err = resolveHostName(testServer, AF_UNSPEC, TCP_PORT_FLAG_ALWAYS_TEST | referencePort, &address, &address_length);
|
||||
if (err != 0) {
|
||||
return ML_TEST_RESULT_INCONCLUSIVE;
|
||||
failingPortFlags = ML_TEST_RESULT_INCONCLUSIVE;
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
for (i = 0; i < PORT_FLAGS_MAX_COUNT; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user