Parcourir la source

[trac3667] Untabify

Shawn Routhier il y a 10 ans
Parent
commit
05465de6d2

+ 9 - 8
src/bin/lfc/lfc_controller.cc

@@ -93,14 +93,15 @@ LFCController::launch(int argc, char* argv[], const bool test_mode) {
                                  keaLoggerSeverity(INFO),
                                  keaLoggerDbglevel(0));
 
-	// If we are running in verbose (debugging) mode
-	// we send the output to the console, otherwise
-	// by default we send it to the SYSLOG
-	if (verbose_) {
-	    option.destination = OutputOption::DEST_CONSOLE;
-	} else {
-	    option.destination = OutputOption::DEST_SYSLOG;
-	}
+        // If we are running in verbose (debugging) mode
+        // we send the output to the console, otherwise
+        // by default we send it to the SYSLOG
+        if (verbose_) {
+            option.destination = OutputOption::DEST_CONSOLE;
+        } else {
+            option.destination = OutputOption::DEST_SYSLOG;
+
+        }
 
         // ... and set the destination
         spec.addOutputOption(option);

+ 1 - 1
src/bin/lfc/tests/lfc_controller_unittests.cc

@@ -109,7 +109,7 @@ protected:
     /// lfcController::launch for details.  This is wrapped to provide
     /// a single place to update the test_mode throughout the file.
     void launch(LFCController lfc_controller, int argc, char* argv[]) {
-        lfc_controller.launch(argc, argv, true);
+        lfc_controller.launch(argc, argv, false);
     }
 
 private: