[Pcsclite-cvs-commit] r6646 - /trunk/Drivers/ccid/src/debug.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Jun 3 08:58:02 UTC 2013
Author: rousseau
Date: Mon Jun 3 08:58:01 2013
New Revision: 6646
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6646
Log:
Reset color after time value
Fix a bug introduced in revision 6644.
Modified:
trunk/Drivers/ccid/src/debug.c
Modified: trunk/Drivers/ccid/src/debug.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/debug.c?rev=6646&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/debug.c (original)
+++ trunk/Drivers/ccid/src/debug.c Mon Jun 3 08:58:01 2013
@@ -50,7 +50,7 @@
struct timeval tmp;
int delta;
const char *color_pfx = "", *color_sfx = "";
- const char *time_pfx = "", *time_sfx = color_sfx;
+ const char *time_pfx = "", *time_sfx = "";
static int initialized = 0;
static int LogDoColor = 0;
@@ -81,7 +81,8 @@
if (LogDoColor)
{
color_sfx = "\33[0m";
- time_pfx = "\33[36m";
+ time_sfx = color_sfx;
+ time_pfx = "\33[36m"; /* Cyan */
switch (priority)
{
More information about the Pcsclite-cvs-commit
mailing list