[sword-svn] r3220 - trunk/utilities

scribe at crosswire.org scribe at crosswire.org
Wed Apr 30 22:14:49 MST 2014


Author: scribe
Date: 2014-04-30 22:14:49 -0700 (Wed, 30 Apr 2014)
New Revision: 3220

Modified:
   trunk/utilities/imp2ld.cpp
Log:
remove unnecessary change

Modified: trunk/utilities/imp2ld.cpp
===================================================================
--- trunk/utilities/imp2ld.cpp	2014-05-01 05:14:35 UTC (rev 3219)
+++ trunk/utilities/imp2ld.cpp	2014-05-01 05:14:49 UTC (rev 3220)
@@ -148,10 +148,9 @@
 	}
 
 	std::ifstream infile(inFileName);
-
-	if(!infile.is_open()) {
-		std::cout << "Unable to open file " << inFileName << std::endl;
-		return -1;
+	if (!infile.is_open()) {
+		fprintf(stderr, "\nERROR: %s: could not open file for reading: %s\n\n", *argv, inFileName);
+		exit(-2);
 	}
 
 	SWModule *mod = 0;




More information about the sword-cvs mailing list