[Pcsclite-cvs-commit] r1637 - trunk/PCSC/src

Ludovic Rousseau rousseau at costa.debian.org
Thu Sep 1 13:54:11 UTC 2005


Author: rousseau
Date: 2005-09-01 13:54:11 +0000 (Thu, 01 Sep 2005)
New Revision: 1637

Modified:
   trunk/PCSC/src/winscard_clnt.c
Log:
use [...].mMutex = NULL; instead of [...].mMutex = 0; since it is a
pointer


Modified: trunk/PCSC/src/winscard_clnt.c
===================================================================
--- trunk/PCSC/src/winscard_clnt.c	2005-09-01 13:23:11 UTC (rev 1636)
+++ trunk/PCSC/src/winscard_clnt.c	2005-09-01 13:54:11 UTC (rev 1637)
@@ -280,7 +280,7 @@
 			psContextMap[i].dwClientID = 0;
 			psContextMap[i].hContext = 0;
 			psContextMap[i].contextBlockStatus = BLOCK_STATUS_RESUME;
-			psContextMap[i].mMutex = 0;
+			psContextMap[i].mMutex = NULL;
 
 			for (j = 0; j < PCSCLITE_MAX_APPLICATION_CONTEXT_CHANNELS; j++)
 			{
@@ -2840,7 +2840,7 @@
 		SHMClientCloseSession(psContextMap[retIndice].dwClientID);
 		psContextMap[retIndice].dwClientID = 0;
 		free(psContextMap[retIndice].mMutex);
-		psContextMap[retIndice].mMutex = 0;
+		psContextMap[retIndice].mMutex = NULL;
 		psContextMap[retIndice].contextBlockStatus = BLOCK_STATUS_RESUME;
 
 		for (i = 0; i < PCSCLITE_MAX_APPLICATION_CONTEXT_CHANNELS; i++)




More information about the Pcsclite-cvs-commit mailing list