mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-16 22:01:11 +00:00
Improve handling and reporting of common errors
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ int main(int argc, char* argv[]) {
|
|||||||
address[0] = 0;
|
address[0] = 0;
|
||||||
discover_server(address);
|
discover_server(address);
|
||||||
if (address[0] == 0) {
|
if (address[0] == 0) {
|
||||||
perror("Can't find server");
|
fprintf(stderr, "Autodiscovery failed. Specify an IP address next time.\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
Submodule third_party/moonlight-common-c updated: f8b394c23d...a5f59d206e
Reference in New Issue
Block a user