scd fixes on error.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 12 Jun 2012 05:51:52 +0000 (14:51 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 25 Jun 2012 01:04:22 +0000 (10:04 +0900)
commit03be1a059b129a0a6f9079f84dad60593e9c4519
treeb6392a1986cfcc00f11490df8e4f40bbc6b890c9
parentc86e9bd1bced85dc72701bb0ab409d5f02b112d1
scd fixes on error.

* scd/apdu.c (open_pcsc_reader_wrapped): Show error number.

* scd/command.c (get_reader_slot): Return -1 on error.
scd/apdu.c
scd/command.c