[Pcsclite-cvs-commit] r5555 - /trunk/PCSC/src/winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Thu Jan 27 10:43:49 UTC 2011
Author: rousseau
Date: Thu Jan 27 10:43:48 2011
New Revision: 5555
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5555
Log:
Send API traces do stderr instead of stdout
Modified:
trunk/PCSC/src/winscard_clnt.c
Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=5555&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Thu Jan 27 10:43:48 2011
@@ -127,15 +127,15 @@
{
va_list args;
- printf(COLOR_GREEN "%c " COLOR_BLUE "[%lX] " COLOR_GREEN "%s ",
+ fprintf(stderr, COLOR_GREEN "%c " COLOR_BLUE "[%lX] " COLOR_GREEN "%s ",
direction, pthread_self(), func);
- printf(COLOR_MAGENTA);
+ fprintf(stderr, COLOR_MAGENTA);
va_start(args, fmt);
- vprintf(fmt, args);
+ vfprintf(stderr, fmt, args);
va_end(args);
- printf(COLOR_NORMAL "\n");
+ fprintf(stderr, COLOR_NORMAL "\n");
}
#define API_TRACE_IN(...) trace(__FUNCTION__, '<', __VA_ARGS__);
More information about the Pcsclite-cvs-commit
mailing list