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 <wking@tremily.us>
This commit is contained in:
parent
193eb62538
commit
dda3702a90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user