[Pcsclite-cvs-commit] CVS PCSC/src
CVS User rousseau
ludovic.rousseau@free.fr
Mon, 28 Feb 2005 07:25:26 -0700
Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv27726
Modified Files:
debuglog.c
Log Message:
DebugLogSetLogType(): do not modify dbgtype argument since it is "const"
--- /cvsroot/pcsclite/PCSC/src/debuglog.c 2005/02/28 12:45:03 1.34
+++ /cvsroot/pcsclite/PCSC/src/debuglog.c 2005/02/28 14:25:24 1.35
@@ -8,7 +8,7 @@
* Copyright (C) 1999-2005
* Ludovic Rousseau <ludovic.rousseau@free.fr>
*
- * $Id: debuglog.c,v 1.34 2005/02/28 12:45:03 rousseau Exp $
+ * $Id: debuglog.c,v 1.35 2005/02/28 14:25:24 rousseau Exp $
*/
#include "config.h"
@@ -113,13 +113,13 @@
case DEBUGLOG_NO_DEBUG:
case DEBUGLOG_SYSLOG_DEBUG:
case DEBUGLOG_STDERR_DEBUG:
+ debug_msg_type = dbgtype;
break;
default:
Log2(PCSC_LOG_CRITICAL, "unknown log type (%d), using stderr",
dbgtype);
- dbgtype = DEBUGLOG_STDERR_DEBUG;
+ debug_msg_type = DEBUGLOG_STDERR_DEBUG;
}
- debug_msg_type = dbgtype;
}
void DebugLogSetLevel(const int level)