mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
scd: Fix how scdaemon pipe server finishes.
* scd/scdaemon.h (scd_command_handler): Fix the return type. * scd/command.c (scd_command_handler): Not return a value. * scd/scdaemon.c (pipe_server): Make it auto variable in main. (main): Use auto PIPE_SERVER variable. (start_connection_thread): When it's a pipe connection and it finishes, let the service shutdown. -- GnuPG-bug-id: 7151 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
c4e6b6aba2
commit
01fa318be0
3 changed files with 8 additions and 15 deletions
|
@ -141,7 +141,7 @@ const char *scd_get_socket_name (void);
|
|||
|
||||
/*-- command.c --*/
|
||||
gpg_error_t initialize_module_command (void);
|
||||
int scd_command_handler (ctrl_t, gnupg_fd_t);
|
||||
void scd_command_handler (ctrl_t, gnupg_fd_t);
|
||||
void send_status_info (ctrl_t ctrl, const char *keyword, ...)
|
||||
GPGRT_ATTR_SENTINEL(1);
|
||||
gpg_error_t send_status_direct (ctrl_t ctrl,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue