[Pcsclite-git-commit] [PCSC] 01/01: SCardGetStatusChange(): fix comment
Ludovic Rousseau
rousseau at moszumanska.debian.org
Thu Sep 28 15:38:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
rousseau pushed a commit to branch master
in repository PCSC.
commit c19857227058b38a37f19e4e6bf83bb4a93ecb7f
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Tue Sep 26 15:13:54 2017 +0200
SCardGetStatusChange(): fix comment
After cancellable is set to FALSE then SCardCancel() will just return
immediatly with success.
---
src/winscard_clnt.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/winscard_clnt.c b/src/winscard_clnt.c
index 4611e53..d822418 100644
--- a/src/winscard_clnt.c
+++ b/src/winscard_clnt.c
@@ -2081,7 +2081,8 @@ LONG SCardGetStatusChange(SCARDCONTEXT hContext, DWORD dwTimeout,
&waitStatusStruct, sizeof(waitStatusStruct),
currentContextMap->dwClientID, dwTime);
- /* another thread can do SCardCancel() */
+ /* SCardCancel() will return immediatly with success
+ * because something changed on the daemon side. */
currentContextMap->cancellable = FALSE;
/* timeout */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git
More information about the Pcsclite-cvs-commit
mailing list