From 980f009235975507f3fd9997d14c836935b36976 Mon Sep 17 00:00:00 2001 From: Roland Olbricht Date: Mon, 17 Jul 2023 22:01:03 +0200 Subject: [PATCH] Version 0.7.61 --- src/overpass_api/core/settings.cc | 2 +- src/overpass_api/dispatch/dispatcher_server.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overpass_api/core/settings.cc b/src/overpass_api/core/settings.cc index 7c8235e24..cb6e259e8 100644 --- a/src/overpass_api/core/settings.cc +++ b/src/overpass_api/core/settings.cc @@ -102,7 +102,7 @@ Basic_Settings::Basic_Settings() db_logfile_name("database.log"), client_logfile_name("transactions.log"), shared_name_base("/osm3s"), - version("0.7.60.6"), + version("0.7.61"), source_hash("e2dc3e5b4b9ebbc314b210b8fdeb4a9f960a2b84"), #ifdef HAVE_LZ4 compression_method(File_Blocks_Index_Base::LZ4_COMPRESSION), diff --git a/src/overpass_api/dispatch/dispatcher_server.cc b/src/overpass_api/dispatch/dispatcher_server.cc index 88554ea01..4d77df598 100644 --- a/src/overpass_api/dispatch/dispatcher_server.cc +++ b/src/overpass_api/dispatch/dispatcher_server.cc @@ -284,7 +284,7 @@ int main(int argc, char* argv[]) rate_limit = atoll(((std::string)argv[argpos]).substr(13).c_str()); else if (!(strncmp(argv[argpos], "--allow-duplicate-queries=", 26))) bit_limits = ((bit_limits & 0xfffffffc) | 0x2 | - ((std::string)argv[argpos]).substr(26) == "yes"); + (((std::string)argv[argpos]).substr(26) == "yes" ? 0x1 : 0)); else if (!(strncmp(argv[argpos], "--server-name=", 14))) server_name = ((std::string)argv[argpos]).substr(14); else