[Pcsclite-cvs-commit] PCSC/src winscard_msg.c,1.16,1.17

sauveron-guest@quantz.debian.org sauveron-guest@quantz.debian.org
Fri, 16 Jan 2004 09:51:13 +0100


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

Modified Files:
	winscard_msg.c 
Log Message:
Remove an useless information field of the messages sent by the client to the server. Also remove in the prototype of WrapSHMWrite the parameter related to the deleted field.

Index: winscard_msg.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/winscard_msg.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- winscard_msg.c	16 Dec 2003 22:47:19 -0000	1.16
+++ winscard_msg.c	16 Jan 2004 08:51:11 -0000	1.17
@@ -493,7 +493,7 @@
 	return retval;
 }
 
-int WrapSHMWrite(unsigned int command, unsigned int pid, DWORD dwClientID,
+int WrapSHMWrite(unsigned int command, DWORD dwClientID,
 	unsigned int size, unsigned int blockAmount, void *data)
 {
 
@@ -507,7 +507,6 @@
 	msgStruct.user_id = SYS_GetUID();
 	msgStruct.group_id = SYS_GetGID();
 	msgStruct.command = command;
-	msgStruct.request_id = pid;
 	msgStruct.date = time(NULL);
 	memcpy(msgStruct.data, data, size);