From bf6a2ae2bf7bb629ef374788e0d42d8a2326e62d Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 6 Jul 2026 08:26:02 -0700 Subject: [PATCH] revert last two commit --- QnetConfigure.cpp | 7 +------ QnetGateway.cpp | 9 ++------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/QnetConfigure.cpp b/QnetConfigure.cpp index 5193e4e..3be2fc3 100644 --- a/QnetConfigure.cpp +++ b/QnetConfigure.cpp @@ -78,12 +78,7 @@ bool CQnetConfigure::Initialize(const std::string &file) std::string filename(CFG_DIR); filename.append("/defaults"); if (ReadConfigFile(filename.c_str(), defaults)) - { - if (ReadConfigFile("./defaults", defaults)) - return true; - else - printf("Successfully read ./defaults!]n"); - } + return true; return ReadConfigFile(file, cfg); } diff --git a/QnetGateway.cpp b/QnetGateway.cpp index ebe8345..f08f0e3 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -50,7 +50,7 @@ #include "QnetGateway.h" #include "Utilities.h" -const std::string GW_VERSION("QnetGateway-60706"); +const std::string GW_VERSION("QnetGateway-40411"); int CQnetGateway::FindIndex(const int i) const { @@ -2561,12 +2561,7 @@ bool CQnetGateway::Initialize(const std::string &path) std::string fname(CFG_DIR); fname.append("/qn.db"); if (qnDB.Open(fname.c_str())) - { - if (qnDB.Open("./qn.db")) - return true; - else - printf("was able to open ./qn.db"); - } + return true; qnDB.ClearLH(); // Open unix sockets between qngateway and qnremote