mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Fix several build warnings and minor bugs
This commit is contained in:
@@ -421,7 +421,7 @@ int gs_unpair(PSERVER_DATA server) {
|
||||
int gs_pair(PSERVER_DATA server, char* pin) {
|
||||
int ret = GS_OK;
|
||||
char* result = NULL;
|
||||
char url[4096];
|
||||
char url[5120];
|
||||
uuid_t uuid;
|
||||
char uuid_str[UUID_STRLEN];
|
||||
|
||||
@@ -701,10 +701,8 @@ int gs_start_app(PSERVER_DATA server, STREAM_CONFIGURATION *config, int appId, b
|
||||
|
||||
PDISPLAY_MODE mode = server->modes;
|
||||
bool correct_mode = false;
|
||||
bool supported_resolution = false;
|
||||
while (mode != NULL) {
|
||||
if (mode->width == config->width && mode->height == config->height) {
|
||||
supported_resolution = true;
|
||||
if (mode->refresh == config->fps)
|
||||
correct_mode = true;
|
||||
}
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
|
||||
static CURL *curl;
|
||||
|
||||
static const char *pCertFile = "./client.pem";
|
||||
static const char *pKeyFile = "./key.pem";
|
||||
|
||||
static bool debug;
|
||||
|
||||
static size_t _write_curl(void *contents, size_t size, size_t nmemb, void *userp)
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
|
||||
#define STATUS_OK 200
|
||||
|
||||
static XML_Parser parser;
|
||||
|
||||
struct xml_query {
|
||||
char *memory;
|
||||
size_t size;
|
||||
|
||||
Reference in New Issue
Block a user