mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,common] do not log success
when parsing command line options, do not log success result
This commit is contained in:
@@ -1026,6 +1026,9 @@ static BOOL parseSubOptions(rdpSettings* settings, const CmdLineSubOptions* opts
|
||||
static int fail_at_(const COMMAND_LINE_ARGUMENT_A* arg, int rc, const char* file, const char* fkt,
|
||||
size_t line)
|
||||
{
|
||||
if (rc == 0)
|
||||
return rc;
|
||||
|
||||
const DWORD level = WLOG_ERROR;
|
||||
wLog* log = WLog_Get(TAG);
|
||||
if (WLog_IsLevelActive(log, level))
|
||||
|
||||
Reference in New Issue
Block a user