Switch to side-by-side view

--- a/src/common/rclinit.cpp
+++ b/src/common/rclinit.cpp
@@ -248,7 +248,7 @@
 
 #endif
 
-RclConfig *recollinit(RclInitFlags flags, 
+RclConfig *recollinit(int flags, 
 		      void (*cleanup)(void), void (*sigcleanup)(int), 
 		      string &reason, const string *argcnf)
 {
@@ -281,10 +281,14 @@
 	config->getConfParam(string("daemlogfilename"), logfilename);
 	config->getConfParam(string("daemloglevel"), loglevel);
     }
-    if ((flags & RCLINIT_IDX) && logfilename.empty())
-	config->getConfParam(string("idxlogfilename"), logfilename);
-    if ((flags & RCLINIT_IDX) && loglevel.empty()) 
-	config->getConfParam(string("idxloglevel"), loglevel);
+    if (flags & RCLINIT_IDX) {
+        if (logfilename.empty()) {
+            config->getConfParam(string("idxlogfilename"), logfilename);
+        }
+        if (loglevel.empty()) {
+            config->getConfParam(string("idxloglevel"), loglevel);
+        }
+    }
 
     if (logfilename.empty())
 	config->getConfParam(string("logfilename"), logfilename);