From d62ca1bf4a4bd6f90a2298802ade08f8d2f7b1e6 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 28 Sep 2008 12:48:41 +0000 Subject: 2008-09-28 Marcus Brinkmann * apdu.c (pcsc_get_status): Fix last change. --- scd/ChangeLog | 4 ++++ scd/apdu.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scd/ChangeLog b/scd/ChangeLog index 572959c70..c2d5916ae 100644 --- a/scd/ChangeLog +++ b/scd/ChangeLog @@ -1,3 +1,7 @@ +2008-09-28 Marcus Brinkmann + + * apdu.c (pcsc_get_status): Fix last change. + 2008-09-25 Werner Koch * app-openpgp.c (do_setattr): Do not allow setting of the reset diff --git a/scd/apdu.c b/scd/apdu.c index 5c1c699b4..38a400bdf 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -1092,8 +1092,8 @@ pcsc_get_status (int slot, unsigned int *status) #else /* Some winscard drivers may set EXCLUSIVE and INUSE at the same time when we are the only user (SCM SCR335) under Windows. */ - if ((status & 6) == 6) - status |= 1; + if ((*status & 6) == 6) + *status |= 1; #endif return 0; -- cgit v1.2.3