mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
agent: Initialize thread_startup.fd for pipe connection.
* agent/gpg-agent.c (main): Let it have defined value. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
b3f1f2cd19
commit
14400b2fb3
@ -1530,6 +1530,7 @@ main (int argc, char **argv)
|
|||||||
strerror (errno) );
|
strerror (errno) );
|
||||||
agent_exit (1);
|
agent_exit (1);
|
||||||
}
|
}
|
||||||
|
ctrl->thread_startup.fd = GNUPG_INVALID_FD;
|
||||||
ctrl->session_env = session_env_new ();
|
ctrl->session_env = session_env_new ();
|
||||||
if (!ctrl->session_env)
|
if (!ctrl->session_env)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user