diff options
Diffstat (limited to 'scd/apdu.c')
-rw-r--r-- | scd/apdu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |