[client,mac] fix opaque settings

This commit is contained in:
dev 2023-11-24 18:47:43 +01:00 committed by David Fort
parent 9261f5c001
commit 89f650b8ae

View File

@ -1012,7 +1012,7 @@ static BOOL mac_authenticate_raw(freerdp *instance, char **username, char **pass
[NSString stringWithCString:freerdp_settings_get_string(
settings, FreeRDP_ServerHostname)
encoding:NSUTF8StringEncoding],
settings -> ServerPort];
freerdp_settings_get_uint32(settings, FreeRDP_ServerPort)];
break;
case AUTH_TLS:
case AUTH_RDP:
@ -1022,7 +1022,7 @@ static BOOL mac_authenticate_raw(freerdp *instance, char **username, char **pass
[NSString stringWithCString:freerdp_settings_get_string(
settings, FreeRDP_ServerHostname)
encoding:NSUTF8StringEncoding],
settings -> ServerPort];
freerdp_settings_get_uint32(settings, FreeRDP_ServerPort)];
break;
case GW_AUTH_HTTP:
case GW_AUTH_RDG:
@ -1032,7 +1032,7 @@ static BOOL mac_authenticate_raw(freerdp *instance, char **username, char **pass
[NSString stringWithCString:freerdp_settings_get_string(
settings, FreeRDP_GatewayHostname)
encoding:NSUTF8StringEncoding],
settings -> GatewayPort];
freerdp_settings_get_uint32(settings, FreeRDP_GatewayPort)];
break;
default:
return FALSE;