mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[core,caps] only warn in rdp_write_order_capability_set
warn about inconsistencies between settings and OrderSupport flags but do not abort.
This commit is contained in:
@@ -657,17 +657,15 @@ static BOOL rdp_write_order_capability_set(wLog* log, wStream* s, const rdpSetti
|
||||
{
|
||||
if ((orderSupportExFlags & CACHE_BITMAP_V3_SUPPORT) == 0)
|
||||
{
|
||||
WLog_Print(log, WLOG_ERROR,
|
||||
WLog_Print(log, WLOG_WARN,
|
||||
"rdpSettings::BitmapCacheV3Enabled=TRUE, but CACHE_BITMAP_V3_SUPPORT not "
|
||||
"set in rdpSettings::OrderSupportEx, aborting.");
|
||||
return FALSE;
|
||||
}
|
||||
if ((orderFlags & ORDER_FLAGS_EXTRA_SUPPORT) == 0)
|
||||
{
|
||||
WLog_Print(log, WLOG_ERROR,
|
||||
WLog_Print(log, WLOG_WARN,
|
||||
"rdpSettings::BitmapCacheV3Enabled=TRUE, but ORDER_FLAGS_EXTRA_SUPPORT not "
|
||||
"set in rdpSettings::OrderSupport, aborting.");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -676,17 +674,15 @@ static BOOL rdp_write_order_capability_set(wLog* log, wStream* s, const rdpSetti
|
||||
if ((orderSupportExFlags & ALTSEC_FRAME_MARKER_SUPPORT) == 0)
|
||||
{
|
||||
WLog_Print(
|
||||
log, WLOG_ERROR,
|
||||
log, WLOG_WARN,
|
||||
"rdpSettings::FrameMarkerCommandEnabled=TRUE, but "
|
||||
"ALTSEC_FRAME_MARKER_SUPPORT not set in rdpSettings::OrderSupportEx, aborting.");
|
||||
return FALSE;
|
||||
}
|
||||
if ((orderFlags & ORDER_FLAGS_EXTRA_SUPPORT) == 0)
|
||||
{
|
||||
WLog_Print(log, WLOG_ERROR,
|
||||
WLog_Print(log, WLOG_WARN,
|
||||
"rdpSettings::FrameMarkerCommandEnabled=TRUE, but ORDER_FLAGS_EXTRA_SUPPORT "
|
||||
"not set in rdpSettings::OrderSupport, aborting.");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user