gnome-keyring r1393 - in trunk: . pkcs11



Author: nnielsen
Date: Wed Dec 17 19:56:37 2008
New Revision: 1393
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1393&view=rev

Log:
	* pkcs11/gkr-pkcs11-module.c: Disable debug output from
	pkcs#11 module by default.


Modified:
   trunk/ChangeLog
   trunk/pkcs11/gkr-pkcs11-module.c

Modified: trunk/pkcs11/gkr-pkcs11-module.c
==============================================================================
--- trunk/pkcs11/gkr-pkcs11-module.c	(original)
+++ trunk/pkcs11/gkr-pkcs11-module.c	Wed Dec 17 19:56:37 2008
@@ -47,6 +47,8 @@
 #include <stdio.h>
 #include <string.h>
 
+#define DEBUG_OUTPUT 0
+
 /* TODO: module fini should call finalize_common */
 
 /* 
@@ -128,7 +130,7 @@
 	va_end (va);
 }
 
-#ifdef _DEBUG 
+#if DEBUG_OUTPUT
 
 static void 
 gkr_pkcs11_debug (const char* msg, ...)
@@ -141,11 +143,11 @@
 
 #define DBG(x) 	gkr_pkcs11_debug x
 
-#else /* !_DEBUG */
+#else /* !DEBUG_OUTPUT */
 
 #define DBG(x)	
 
-#endif /* _DEBUG */
+#endif /* DEBUG_OUTPUT */
 
 
 /* -----------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]