From dda3702a9024a08da7bb949e15b63a47d23d59f5 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 26 Sep 2012 19:26:00 -0400 Subject: [PATCH] gpgme-tool: Initialize input_fd and output_fd * src/gpgme-tool.c (gpgme_server): Initialize input_fd and output_fd. Signed-off-by: W. Trevor King --- src/gpgme-tool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gpgme-tool.c b/src/gpgme-tool.c index 3a02065..19dedb6 100644 --- a/src/gpgme-tool.c +++ b/src/gpgme-tool.c @@ -3121,6 +3121,8 @@ gpgme_server (gpgme_tool_t gt) static const char hello[] = ("GPGME-Tool " VERSION " ready"); memset (&server, 0, sizeof (server)); + server.input_fd = ASSUAN_INVALID_FD; + server.output_fd = ASSUAN_INVALID_FD; server.message_fd = ASSUAN_INVALID_FD; server.input_enc = GPGME_DATA_ENCODING_NONE; server.output_enc = GPGME_DATA_ENCODING_NONE; -- 2.26.2