[PC-BSD Commits] r4684 - pcbsd/trunk/lifePreserver

svn at pcbsd.org svn at pcbsd.org
Mon Oct 19 19:07:03 PDT 2009


Author: kris
Date: 2009-10-19 19:07:02 -0700 (Mon, 19 Oct 2009)
New Revision: 4684

Modified:
   pcbsd/trunk/lifePreserver/lifePreserverWizard.cpp
Log:

Fixed bug when adding a new life-preserver host



Modified: pcbsd/trunk/lifePreserver/lifePreserverWizard.cpp
===================================================================
--- pcbsd/trunk/lifePreserver/lifePreserverWizard.cpp	2009-10-20 02:03:16 UTC (rev 4683)
+++ pcbsd/trunk/lifePreserver/lifePreserverWizard.cpp	2009-10-20 02:07:02 UTC (rev 4684)
@@ -174,8 +174,9 @@
    {
      settings.setArrayIndex(i);
      settings.setValue("connectString", savedPreservers[i] );
+     numExisting = i;
    }
-   settings.setArrayIndex(numExisting);
+   settings.setArrayIndex(numExisting + 1);
    settings.setValue("connectString", connectString );
    settings.endArray();
 



More information about the Commits mailing list