scd: Fix card removal monitor.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 30 Dec 2016 04:17:49 +0000 (13:17 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 30 Dec 2016 04:17:49 +0000 (13:17 +0900)
commitf300e12a793d59deb1a369713384eaabfa39b3e6
tree9c60f5f566157604120e82b3cf26ee71e871cfd7
parentcdc8d0bd933b958db878861587322bc541b580b3
scd: Fix card removal monitor.

* scd/app.c (app_reset): Call send_client_notification with REMOVAL.
(scd_update_reader_status_file): Likewise.
* scd/command.c (send_client_notifications): Distinguish removal.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
scd/app.c
scd/command.c
scd/scdaemon.h