[Pcsclite-cvs-commit] r5226 - /trunk/PCSC/src/winscard_svc.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Sep 2 13:58:00 UTC 2010


Author: rousseau
Date: Thu Sep  2 13:57:59 2010
New Revision: 5226

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5226
Log:
Remove protocol_major, protocol_minor fields from struct _psContext
since they are not used.

Modified:
    trunk/PCSC/src/winscard_svc.c

Modified: trunk/PCSC/src/winscard_svc.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_svc.c?rev=5226&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_svc.c (original)
+++ trunk/PCSC/src/winscard_svc.c Thu Sep  2 13:57:59 2010
@@ -63,7 +63,6 @@
 	pthread_mutex_t cardsList_lock;	/**< lock for the above list */
 	uint32_t dwClientID;			/**< Connection ID used to reference the Client. */
 	pthread_t pthThread;		/**< Event polling thread's ID */
-	int protocol_major, protocol_minor;	/**< Protocol number agreed between client and server*/
 };
 typedef struct _psContext SCONTEXT;
 
@@ -317,10 +316,6 @@
 
 				READ_BODY(veStr)
 
-				/* get the client protocol version */
-				threadContext->protocol_major = veStr.major;
-				threadContext->protocol_minor = veStr.minor;
-
 				Log3(PCSC_LOG_DEBUG, "Client is protocol version %d:%d",
 					veStr.major, veStr.minor);
 




More information about the Pcsclite-cvs-commit mailing list