Skip to content

Commit

Permalink
Use symbol SCARD_S_SUCCESS instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
LudovicRousseau committed Jun 23, 2024
1 parent 9adc7c8 commit 16ae2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/winscard_svc.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ static void * ContextThread(LPVOID newContext)
struct wait_reader_state_change waStr =
{
.timeOut = 0,
.rv = 0
.rv = SCARD_S_SUCCESS
};
LONG rv;

Expand Down Expand Up @@ -849,7 +849,7 @@ LONG MSGSignalClient(uint32_t filedes, LONG rv)
struct wait_reader_state_change waStr =
{
.timeOut = 0,
.rv = 0
.rv = SCARD_S_SUCCESS
};

Log2(PCSC_LOG_DEBUG, "Signal client: %d", filedes);
Expand Down

0 comments on commit 16ae2be

Please sign in to comment.