diff options
author | NIIBE Yutaka <[email protected]> | 2015-12-15 00:56:08 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2015-12-15 00:56:08 +0000 |
commit | 8729f35510550495c830fcf54f03da9a42d0a751 (patch) | |
tree | 19350b87d72d15630a3b6d84cfdf2837f35c0133 | |
parent | scd: Fix removal of unplugged usb readers on Windows. (diff) | |
download | gnupg-8729f35510550495c830fcf54f03da9a42d0a751.tar.gz gnupg-8729f35510550495c830fcf54f03da9a42d0a751.zip |
scd: Fix commit 9a9bfd77.
* scd/app.c (check_application_conflict): Get SLOT.
-rw-r--r-- | scd/app.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -223,6 +223,7 @@ check_conflict (int slot, const char *name) gpg_error_t check_application_conflict (ctrl_t ctrl, const char *name) { + int slot = ctrl->reader_slot; gpg_error_t err; if (slot < 0 || slot >= DIM (lock_table)) |