common: Parse actual value of redirectlocation rdp file setting

This commit is contained in:
Martin Fleisz 2024-04-04 15:37:23 +02:00 committed by akallabeth
parent 1b7e0ffb97
commit f62a61886f

View File

@ -2296,7 +2296,7 @@ BOOL freerdp_client_populate_settings_from_rdp_file(const rdpFile* file, rdpSett
return FALSE;
}
if (~file->RedirectLocation)
if (~file->RedirectLocation && file->RedirectLocation != 0)
{
size_t count = 0;
union