[core,proxy] fix missing return check
This commit is contained in:
parent
b9e434be48
commit
036228a294
@ -306,7 +306,8 @@ void proxy_read_environment(rdpSettings* settings, char* envname)
|
||||
WLog_INFO(TAG, "deactivating proxy: %s [%s=%s]",
|
||||
freerdp_settings_get_string(settings, FreeRDP_ServerHostname), envname,
|
||||
env);
|
||||
freerdp_settings_set_uint32(settings, FreeRDP_ProxyType, PROXY_TYPE_NONE);
|
||||
if (!freerdp_settings_set_uint32(settings, FreeRDP_ProxyType, PROXY_TYPE_NONE))
|
||||
WLog_WARN(TAG, "failed to set FreeRDP_ProxyType=PROXY_TYPE_NONE");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user