mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-19 14:50:58 +00:00
Fix libgamestream doesn't print to console
This commit is contained in:
@@ -335,7 +335,7 @@ int main(int argc, char* argv[]) {
|
|||||||
sprintf(pin, "%d%d%d%d", (int)random() % 10, (int)random() % 10, (int)random() % 10, (int)random() % 10);
|
sprintf(pin, "%d%d%d%d", (int)random() % 10, (int)random() % 10, (int)random() % 10, (int)random() % 10);
|
||||||
printf("Please enter the following PIN on the target PC: %s\n", pin);
|
printf("Please enter the following PIN on the target PC: %s\n", pin);
|
||||||
if (gs_pair(server, &pin[0]) != GS_OK) {
|
if (gs_pair(server, &pin[0]) != GS_OK) {
|
||||||
fprintf("Failed to pair to server: %s\n", gs_error);
|
fprintf(stderr, "Failed to pair to server: %s\n", gs_error);
|
||||||
} else {
|
} else {
|
||||||
printf("Succesfully paired\n");
|
printf("Succesfully paired\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user