aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/scd/command.c b/scd/command.c
index 97e6accff..6e1a6e223 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -2475,9 +2475,8 @@ register_commands (assuan_context_t ctx)
/* Startup the server. If FD is given as -1 this is simple pipe
- server, otherwise it is a regular server. Returns true if there
- are no more active asessions. */
-int
+ server, otherwise it is a regular server. */
+void
scd_command_handler (ctrl_t ctrl, gnupg_fd_t fd)
{
int rc;
@@ -2576,9 +2575,6 @@ scd_command_handler (ctrl_t ctrl, gnupg_fd_t fd)
if (stopme)
scd_exit (0);
-
- /* If there are no more sessions return true. */
- return !session_list;
}