diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index 2f41271d..bf959527 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -1191,8 +1191,8 @@ int main(int argc, char* argv[]) { signal(SIGTERM, signalHandler); logNotice(lf_main, PACKAGE_STRING "." REVISION " started%s", - opt.scanConfig ? opt.initialScan==ESC ? " with scan" : opt.initialScan==BROADCAST ? " with broadcast scan" - : opt.initialScan==SYN ? " with full scan" : " with single scan" : ""); + opt.scanConfig ? opt.initialScan == ESC ? " with scan" : opt.initialScan == BROADCAST ? " with broadcast scan" + : opt.initialScan == SYN ? " with full scan" : " with single scan" : ""); // load configuration files loadConfigFiles(s_messageMap); diff --git a/src/ebusd/main.h b/src/ebusd/main.h index f7f0e2ab..b172327b 100644 --- a/src/ebusd/main.h +++ b/src/ebusd/main.h @@ -69,7 +69,7 @@ struct options { bool localOnly; //!< listen on 127.0.0.1 interface only uint16_t httpPort; //!< optional port to listen for HTTP connections, 0 to disable [0] const char* htmlPath; //!< path for HTML files served by the HTTP port [/var/ebusd/html] - bool updateCheck; //!< perform automatic update check + bool updateCheck; //!< perform automatic update check const char* logFile; //!< log file name [/var/log/ebusd.log] int logAreas; //!< log areas [all]