[Pcsclite-git-commit] [PCSC] 06/16: MSGCleanupClient() returns void now
Ludovic Rousseau
rousseau at moszumanska.debian.org
Thu May 11 16:26:04 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 440f15e433123b7e99d37ba772a16662e4b838c0
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date: Thu May 11 14:45:26 2017 +0200
MSGCleanupClient() returns void now
The value returned by MSGCleanupClient() was ignored.
Now the MSGCleanupClient() function returns void.
---
src/winscard_svc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/winscard_svc.c b/src/winscard_svc.c
index fb954bf..d6b3c7b 100644
--- a/src/winscard_svc.c
+++ b/src/winscard_svc.c
@@ -93,7 +93,7 @@ static LONG MSGAddContext(SCARDCONTEXT, SCONTEXT *);
static LONG MSGRemoveContext(SCARDCONTEXT, SCONTEXT *);
static LONG MSGAddHandle(SCARDCONTEXT, SCARDHANDLE, SCONTEXT *);
static LONG MSGRemoveHandle(SCARDHANDLE, SCONTEXT *);
-static LONG MSGCleanupClient(SCONTEXT *);
+static void MSGCleanupClient(SCONTEXT *);
static void ContextThread(LPVOID pdwIndex);
@@ -803,7 +803,7 @@ wrong_length:
Log2(PCSC_LOG_DEBUG, "Wrong length: %d", filedes);
exit:
(void)close(filedes);
- (void)MSGCleanupClient(threadContext);
+ MSGCleanupClient(threadContext);
(void)pthread_exit((LPVOID) NULL);
}
@@ -1009,7 +1009,7 @@ static LONG MSGCheckHandleAssociation(SCARDHANDLE hCard,
/* Should be called just prior to exiting the thread as it de-allocates
* the thread memory strucutres
*/
-static LONG MSGCleanupClient(SCONTEXT * threadContext)
+static void MSGCleanupClient(SCONTEXT * threadContext)
{
int lrv;
int listSize;
@@ -1051,5 +1051,5 @@ static LONG MSGCleanupClient(SCONTEXT * threadContext)
alarm(TIME_BEFORE_SUICIDE);
}
- return 0;
+ return;
}
--
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