Skip to content

Commit

Permalink
codespell: winscard_clnt.c
Browse files Browse the repository at this point in the history
./src/winscard_clnt.c:1112: serie ==> series
./src/winscard_clnt.c:2085: immediatly ==> immediately
./src/winscard_clnt.c:2578: bellow ==> below
  • Loading branch information
LudovicRousseau committed Feb 11, 2023
1 parent 3130920 commit 51dd821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/winscard_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ LONG SCardDisconnect(SCARDHANDLE hCard, DWORD dwDisposition)

/**
* @brief Establishes a temporary exclusive access mode for
* doing a serie of commands in a transaction.
* doing a series of commands in a transaction.
*
* You might want to use this when you are selecting a few files and then
* writing a large file so you can make sure that another application will
Expand Down Expand Up @@ -2082,7 +2082,7 @@ LONG SCardGetStatusChange(SCARDCONTEXT hContext, DWORD dwTimeout,
&waitStatusStruct, sizeof(waitStatusStruct),
currentContextMap->dwClientID, dwTime);

/* SCardCancel() will return immediatly with success
/* SCardCancel() will return immediately with success
* because something changed on the daemon side. */
currentContextMap->cancellable = false;

Expand Down Expand Up @@ -2575,7 +2575,7 @@ static LONG SCardGetSetAttrib(SCARDHANDLE hCard, int command, DWORD dwAttrId,
if (*pcbAttrLen < scGetSetStruct.cbAttrLen)
{
/* restrict the value of scGetSetStruct.cbAttrLen to avoid a
* buffer overflow in the memcpy() bellow */
* buffer overflow in the memcpy() below */
DWORD correct_value = scGetSetStruct.cbAttrLen;
scGetSetStruct.cbAttrLen = *pcbAttrLen;
*pcbAttrLen = correct_value;
Expand Down

0 comments on commit 51dd821

Please sign in to comment.