fix check; refs #29

This commit is contained in:
Marc Wäckerlin
2014-03-21 12:09:50 +00:00
parent 2ea4dd4c0e
commit ee685a9509

View File

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