mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[server,warnings] properly handle function return
This commit is contained in:
@@ -608,7 +608,8 @@ static DWORD WINAPI pf_server_handle_peer(LPVOID arg)
|
||||
goto out_free_peer;
|
||||
|
||||
WINPR_ASSERT(client->Initialize);
|
||||
client->Initialize(client);
|
||||
if (!client->Initialize(client))
|
||||
goto out_free_peer;
|
||||
|
||||
PROXY_LOG_INFO(TAG, ps, "new connection: proxy address: %s, client address: %s",
|
||||
pdata->config->Host, client->hostname);
|
||||
|
||||
Reference in New Issue
Block a user