mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Rename the enum constant to GNUPG_PROCESS_GET_PROC_ID.
And use GetProcessId on Windows in the implementation. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
7cadbf4e18
commit
b674a704e9
4 changed files with 7 additions and 7 deletions
|
@ -445,8 +445,8 @@ ldap_reaper_thread (void *dummy)
|
|||
{
|
||||
int status;
|
||||
|
||||
gnupg_process_ctl (ctx->proc,
|
||||
GNUPG_PROCESS_GET_EXIT_ID, &status);
|
||||
gnupg_process_ctl (ctx->proc, GNUPG_PROCESS_GET_EXIT_ID,
|
||||
&status);
|
||||
if (DBG_EXTPROG)
|
||||
log_info (_("ldap wrapper %d ready"), (int)ctx->printable_pid);
|
||||
ctx->ready = 1;
|
||||
|
@ -861,7 +861,7 @@ ldap_wrapper (ctrl_t ctrl, ksba_reader_t *reader, const char *argv[])
|
|||
}
|
||||
gnupg_process_get_streams (process, GNUPG_PROCESS_STREAM_NONBLOCK,
|
||||
NULL, &outfp, &errfp);
|
||||
gnupg_process_ctl (process, GNUPG_PROCESS_GET_ID, &ctx->printable_pid);
|
||||
gnupg_process_ctl (process, GNUPG_PROCESS_GET_PROC_ID, &ctx->printable_pid);
|
||||
|
||||
ctx->proc = process;
|
||||
ctx->fp = outfp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue