[Pcsclite-cvs-commit] PCSC/src pcscdaemon.c,1.35,1.36
sauveron-guest@quantz.debian.org
sauveron-guest@quantz.debian.org
Wed, 22 Oct 2003 14:43:30 +0200
Update of /cvsroot/pcsclite/PCSC/src
In directory quantz:/tmp/cvs-serv25271/src
Modified Files:
pcscdaemon.c
Log Message:
Move a debug message in an other file to have the good client number when it disappears
Index: pcscdaemon.c
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/pcscdaemon.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- pcscdaemon.c 21 Oct 2003 19:59:18 -0000 1.35
+++ pcscdaemon.c 22 Oct 2003 12:43:27 -0000 1.36
@@ -67,8 +67,6 @@
*/
void SVCServiceRunLoop()
{
-
- char errMessage[200];
sharedSegmentMsg msgStruct;
int currHandle, rsp;
@@ -126,18 +124,6 @@
MSGCleanupClient(&msgStruct);
SYS_MutexUnLock(&usbNotifierMutex);
-#if HAVE_SNPRINTF
- snprintf(errMessage, sizeof(errMessage), "%s%d%s",
- "SVCServiceRun: Client ", msgStruct.request_id,
- " has disappeared.");
-#else
- sprintf(errMessage, "%s%d%s", "SVCServiceRun: Client ",
- msgStruct.request_id, " has disappeared.");
-
-#endif
-
-
- DebugLogB("%s", errMessage);
} else
{
continue;