mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +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> (cherry picked from commit 14400b2fb3d4e97307799325bb8f704476ce6354)
This commit is contained in:
parent
0ed8e9ae3e
commit
81fc7b291e
@ -1518,6 +1518,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