Revision: 41610
http://brlcad.svn.sourceforge.net/brlcad/?rev=41610&view=rev
Author: davidloman
Date: 2010-12-15 13:18:24 +0000 (Wed, 15 Dec 2010)
Log Message:
-----------
Fixed bug. When config::loadFile was returning false, the gs boot code was
processing the false incorrectly and continuing to boot.
Modified Paths:
--------------
rt^3/trunk/src/GS/geoserv.cxx
Modified: rt^3/trunk/src/GS/geoserv.cxx
===================================================================
--- rt^3/trunk/src/GS/geoserv.cxx 2010-12-15 12:18:54 UTC (rev 41609)
+++ rt^3/trunk/src/GS/geoserv.cxx 2010-12-15 13:18:24 UTC (rev 41610)
@@ -47,8 +47,9 @@
Config* c = Config::getInstance();
//TODO Configure system loads stuff here
- if (c->loadFile("geoserve.config", true)) {
- return 1;
+ if (c->loadFile("geoserve.config", true) == false) {
+ log->logERROR("geoserv","Failed to properly Load config File.
Exiting.");
+ return 1;
}
QString localNodename = c->getConfigValue("LocalNodeName");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits