[sword-svn] r3124 - trunk/utilities

chrislit at crosswire.org chrislit at crosswire.org
Fri Mar 14 03:57:10 MST 2014


Author: chrislit
Date: 2014-03-14 03:57:10 -0700 (Fri, 14 Mar 2014)
New Revision: 3124

Modified:
   trunk/utilities/osis2mod.cpp
Log:
fixed assignment for equality error
added compressLevel outputting to DEBUG(ARGS)


Modified: trunk/utilities/osis2mod.cpp
===================================================================
--- trunk/utilities/osis2mod.cpp	2014-03-14 09:29:39 UTC (rev 3123)
+++ trunk/utilities/osis2mod.cpp	2014-03-14 10:57:10 UTC (rev 3124)
@@ -1703,7 +1703,7 @@
 		usage(*argv, "ERROR: SWORD library not compiled with bzip2 compression support.\n\tBe sure libbz2 is available when compiling SWORD library");
 #endif
 	}
-	else if (compType = "XZ") {
+	else if (compType == "XZ") {
 #ifndef EXCLUDEXZ
 		compressor = new XzCompress();
 #else
@@ -1723,7 +1723,7 @@
 #endif
 
 	if (debug & DEBUG_OTHER) {
-		cout << "DEBUG(ARGS):\n\tpath: " << path << "\n\tosisDoc: " << osisDoc << "\n\tcreate: " << append << "\n\tcompressType: " << compType << "\n\tblockType: " << iType << "\n\tcipherKey: " << cipherKey.c_str() << "\n\tnormalize: " << normalize << endl;
+		cout << "DEBUG(ARGS):\n\tpath: " << path << "\n\tosisDoc: " << osisDoc << "\n\tcreate: " << append << "\n\tcompressType: " << compType << "\n\tblockType: " << iType << "\n\tcompressLevel: " << compLevel << "\n\tcipherKey: " << cipherKey.c_str() << "\n\tnormalize: " << normalize << endl;
 	}
 
 	if (!append) {	// == 0 then create module




More information about the sword-cvs mailing list