aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2022-08-01 05:14:15 +0000
committerNIIBE Yutaka <[email protected]>2022-08-01 05:14:15 +0000
commit599831264aa8ffc58b3aff8e9a79f0964e6b2a0f (patch)
tree4e12cedc70e21c41b75c4b2cebc05815eeb7e742
parentAdd call to GetNamedPipeClientProcessId for newer Windows. (diff)
downloadgnupg-599831264aa8ffc58b3aff8e9a79f0964e6b2a0f.tar.gz
gnupg-599831264aa8ffc58b3aff8e9a79f0964e6b2a0f.zip
Remove debug code.
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r--agent/gpg-agent.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 5b3a78519..51595c0e7 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -2822,10 +2822,7 @@ win32_openssh_thread (void *arg)
if (!GetNamedPipeClientProcessId (pipe, &ctrl->client_pid))
log_info ("failed to get client process id: %ld\n", GetLastError ());
else
- {
- log_info ("PID: %ld\n", ctrl->client_pid);
- ctrl->client_uid = -1;
- }
+ ctrl->client_uid = -1;
#endif
ctrl->session_env = session_env_new ();