[sword-svn] r3492 - trunk/utilities

scribe at crosswire.org scribe at crosswire.org
Sun Sep 3 04:38:50 MST 2017


Author: scribe
Date: 2017-09-03 04:38:50 -0700 (Sun, 03 Sep 2017)
New Revision: 3492

Modified:
   trunk/utilities/installmgr.cpp
Log:
Fixed bad check from module not found, per report from Jaak Ristioja <jaak at ristioja.ee>.  Thanks Jaak!

Modified: trunk/utilities/installmgr.cpp
===================================================================
--- trunk/utilities/installmgr.cpp	2017-09-02 09:47:05 UTC (rev 3491)
+++ trunk/utilities/installmgr.cpp	2017-09-03 11:38:50 UTC (rev 3492)
@@ -314,7 +314,7 @@
 	}
 	SWMgr *mgr = source->second->getMgr();
 	SWModule *m = mgr->getModule(modName);
-	if (source == installMgr->sources.end()) {
+	if (!m) {
 		fprintf(stderr, "Couldn't find module [%s] in source [%s]\n", modName, sourceName);
 		finish(-3);
 	}




More information about the sword-cvs mailing list