mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[server,proxy] clone user/doman/password
add missing elements of struct to copy
This commit is contained in:
@@ -982,7 +982,12 @@ BOOL pf_config_clone(proxyConfig** dst, const proxyConfig* config)
|
||||
goto fail;
|
||||
if (!pf_config_copy_string(&tmp->TargetHost, config->TargetHost))
|
||||
goto fail;
|
||||
|
||||
if (!pf_config_copy_string(&tmp->TargetUser, config->TargetUser))
|
||||
goto fail;
|
||||
if (!pf_config_copy_string(&tmp->TargetDomain, config->TargetDomain))
|
||||
goto fail;
|
||||
if (!pf_config_copy_string(&tmp->TargetPassword, config->TargetPassword))
|
||||
goto fail;
|
||||
if (!pf_config_copy_string_list(&tmp->Passthrough, &tmp->PassthroughCount, config->Passthrough,
|
||||
config->PassthroughCount))
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user