From: W. Trevor King Date: Wed, 26 Sep 2012 23:26:00 +0000 (-0400) Subject: gpgme-tool: Initialize input_fd and output_fd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dda3702a9024a08da7bb949e15b63a47d23d59f5;p=gpgme.git 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 --- 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;