fix http with proxy + port usage

This commit is contained in:
vanhauser-thc 2022-01-11 10:19:04 +01:00
commit c61fe26d16
2 changed files with 13 additions and 12 deletions

View file

@ -29,6 +29,7 @@ BOOL rdp_connect(char *server, int32_t port, char *domain, char *login, char *pa
instance->settings->ServerHostname = server;
instance->settings->ServerPort = port;
instance->settings->Domain = domain;
instance->settings->MaxTimeInCheckLoop = 100;
freerdp_connect(instance);
err = freerdp_get_last_error(instance->context);
return err;