[Pcsclite-cvs-commit] PCSC/src winscard_svc.c,1.6,1.7

sauveron-guest@quantz.debian.org sauveron-guest@quantz.debian.org
Wed, 24 Sep 2003 13:17:08 +0200


Update of /cvsroot/pcsclite/PCSC/src
In directory quantz:/tmp/cvs-serv9582/src

Modified Files:
	winscard_svc.c 
Log Message:
Move some code to a better position.

Index: winscard_svc.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/winscard_svc.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- winscard_svc.c	7 Sep 2003 18:06:58 -0000	1.6
+++ winscard_svc.c	24 Sep 2003 11:17:06 -0000	1.7
@@ -237,11 +237,10 @@
 					psChannelMap[i].hCard[j] = 0;
 				}
 
-				psChannelMap[i].hContext = 0;
-				psChannelMap[i].dwClientID = 0;
-
 			}
 
+			psChannelMap[i].hContext = 0;
+			psChannelMap[i].dwClientID = 0;
 			SCardReleaseContext(hContext);
 			return SCARD_S_SUCCESS;
 		}