mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Fix access to wrong variable in sample server
This commit is contained in:
parent
1fedd36f65
commit
5b2cb753bb
@ -373,7 +373,7 @@ static void test_peer_draw_icon(freerdp_peer* client, UINT32 x, UINT32 y)
|
|||||||
update = client->update;
|
update = client->update;
|
||||||
WINPR_ASSERT(update);
|
WINPR_ASSERT(update);
|
||||||
|
|
||||||
if (client->update->dump_rfx)
|
if (freerdp_settings_get_bool(client->settings, FreeRDP_DumpRemoteFx))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (context->icon_width < 1 || !context->activated)
|
if (context->icon_width < 1 || !context->activated)
|
||||||
@ -723,7 +723,7 @@ static BOOL tf_peer_activate(freerdp_peer* client)
|
|||||||
|
|
||||||
if (info->test_pcap_file != NULL)
|
if (info->test_pcap_file != NULL)
|
||||||
{
|
{
|
||||||
client->update->dump_rfx = TRUE;
|
freerdp_settings_set_bool(client->settings, FreeRDP_DumpRemoteFx, TRUE);
|
||||||
|
|
||||||
if (!tf_peer_dump_rfx(client))
|
if (!tf_peer_dump_rfx(client))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user