From ee685a9509e25245cfaaaf7b77ea21ad85f6dd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 21 Mar 2014 12:09:50 +0000 Subject: [PATCH] fix check; refs #29 --- src/pcsc.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pcsc.hxx b/src/pcsc.hxx index da92c2e..3ecb042 100644 --- a/src/pcsc.hxx +++ b/src/pcsc.hxx @@ -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.