mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Fix incorrect ret value assignment (#900)
This commit is contained in:
@@ -750,7 +750,7 @@ int gs_start_app(PSERVER_DATA server, STREAM_CONFIGURATION *config, int appId, b
|
|||||||
else
|
else
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if ((ret = xml_status(data->memory, data->size) != GS_OK))
|
if ((ret = xml_status(data->memory, data->size)) != GS_OK)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
else if ((ret = xml_search(data->memory, data->size, "gamesession", &result)) != GS_OK &&
|
else if ((ret = xml_search(data->memory, data->size, "gamesession", &result)) != GS_OK &&
|
||||||
(ret = xml_search(data->memory, data->size, "resume", &result)) != GS_OK)
|
(ret = xml_search(data->memory, data->size, "resume", &result)) != GS_OK)
|
||||||
@@ -793,7 +793,7 @@ int gs_quit_app(PSERVER_DATA server) {
|
|||||||
if ((ret = http_request(url, data)) != GS_OK)
|
if ((ret = http_request(url, data)) != GS_OK)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
if ((ret = xml_status(data->memory, data->size) != GS_OK))
|
if ((ret = xml_status(data->memory, data->size)) != GS_OK)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
else if ((ret = xml_search(data->memory, data->size, "cancel", &result)) != GS_OK)
|
else if ((ret = xml_search(data->memory, data->size, "cancel", &result)) != GS_OK)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|||||||
Reference in New Issue
Block a user