fix check; refs #29

master
Marc Wäckerlin 11 years ago
parent 2ea4dd4c0e
commit ee685a9509
  1. 2
      src/pcsc.hxx

@ -242,7 +242,7 @@ namespace pcsc {
CRYPTOLOG("Disconnect Reader"); CRYPTOLOG("Disconnect Reader");
_state = SCardDisconnect(_id, SCARD_RESET_CARD); _state = SCardDisconnect(_id, SCARD_RESET_CARD);
if (!std::uncaught_exception()) if (!std::uncaught_exception())
_connection->check("disconnect smartcard"); _connection->check(_state, "disconnect smartcard");
} }
//! Get reader status. //! Get reader status.

Loading…
Cancel
Save