diff --git a/src/cysfnodedir.cpp b/src/cysfnodedir.cpp index 78e9488..e4bfc38 100644 --- a/src/cysfnodedir.cpp +++ b/src/cysfnodedir.cpp @@ -146,7 +146,7 @@ void CYsfNodeDir::ReadDb() MYSQL_RES *result = mysql_store_result(con); if (result) { - std::cout << "Adding " << mysql_num_rows(result) << " registered YSF stations from table " << YSF_DB_NAME << std::endl; + std::cout << "Adding " << mysql_num_rows(result) << " registered YSF stations from database " << YSF_DB_NAME << std::endl; MYSQL_ROW row; while ((row = mysql_fetch_row(result))) diff --git a/src/main.cpp b/src/main.cpp index df764b5..9ea8817 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -79,8 +79,10 @@ int main() std::cout << "Reflector " << g_Reflector.GetCallsign() << "started and listening on "; #if defined LISTEN_IPV4 std::cout << g_Reflector.GetListenIPv4() << " for IPv4"; -#ifdef LISTEN_IPV6 +#if defined LISTEN_IPV6 std::cout << " and " << g_Reflector.GetListenIPv6() << " for IPv6" << std::endl; +#else + std::cout << std::endl; #endif #elif defined LISTEN_IPV6 std::cout << g_Reflector.GetListenIPv6() << " for IPv6" << std::endl;