mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Merge pull request #11257 from akallabeth/action-script
[client,x11] improve action script logging
This commit is contained in:
@@ -203,7 +203,7 @@ BOOL run_action_script(xfContext* xfc, const char* what, const char* arg, fn_act
|
||||
|
||||
if (!keyScript)
|
||||
{
|
||||
WLog_ERR(TAG, "Failed to execute '%s'", command);
|
||||
WLog_ERR(TAG, "[ActionScript] Failed to execute '%s'", command);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@@ -223,6 +223,8 @@ BOOL run_action_script(xfContext* xfc, const char* what, const char* arg, fn_act
|
||||
}
|
||||
|
||||
rc = read_data;
|
||||
if (!rc)
|
||||
WLog_ERR(TAG, "[ActionScript] No data returned from command '%s'", command);
|
||||
fail:
|
||||
if (keyScript)
|
||||
pclose(keyScript);
|
||||
|
||||
@@ -1361,7 +1361,10 @@ static SECURITY_STATUS SEC_ENTRY kerberos_AcceptSecurityContext(
|
||||
(!realm || krb_log_exec_bool(krb5_realm_compare, credentials->ctx, principal,
|
||||
entry.principal)))
|
||||
break;
|
||||
if (krb_log_exec(krb5glue_free_keytab_entry_contents, credentials->ctx, &entry))
|
||||
const krb5_error_code res =
|
||||
krb_log_exec(krb5glue_free_keytab_entry_contents, credentials->ctx, &entry);
|
||||
memset(&entry, 0, sizeof(entry));
|
||||
if (res != 0)
|
||||
goto cleanup;
|
||||
} while (1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user