diff pst2ldif.cpp @ 15:ac98f448b6ab

patches from debian
author carl
date Sun, 19 Feb 2006 14:50:06 -0800
parents 3f2fedec798c
children
line wrap: on
line diff
--- a/pst2ldif.cpp	Sun Feb 19 14:35:22 2006 -0800
+++ b/pst2ldif.cpp	Sun Feb 19 14:50:06 2006 -0800
@@ -400,8 +400,10 @@
 		exit(2);
 	}
 
-	DEBUG_INIT("pst2ldif.log");
-	DEBUG_REGISTER_CLOSE();
+	#ifdef DEBUG_ALL
+		DEBUG_INIT("pst2ldif.log");
+		DEBUG_REGISTER_CLOSE();
+	#endif
 	DEBUG_ENT("main");
 	RET_DERROR(pst_open(&pstfile, fname, "r"), 1, ("Error opening File\n"));
 	RET_DERROR(pst_load_index(&pstfile), 2, ("Index Error\n"));