From c754b5cfce2973d9de466b461f9170e2f3c6cd88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Thu, 30 Apr 2020 14:57:55 -0400 Subject: [PATCH] update to version 2.1.0 --- CMakeLists.txt | 2 +- configure.ac | 2 +- src/network_engine.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5a69f0e..823a5fc4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ include(CMakeDependentOption) project (opendht) set (opendht_VERSION_MAJOR 2) -set (opendht_VERSION_MINOR 0.0) +set (opendht_VERSION_MINOR 1.0) set (opendht_VERSION ${opendht_VERSION_MAJOR}.${opendht_VERSION_MINOR}) set (PACKAGE_VERSION ${opendht_VERSION}) set (VERSION "${opendht_VERSION}") diff --git a/configure.ac b/configure.ac index 9c2b3264..21072387 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl define macros m4_define([opendht_major_version], 2) -m4_define([opendht_minor_version], 0) +m4_define([opendht_minor_version], 1) m4_define([opendht_patch_version], 0) m4_define([opendht_version], [opendht_major_version.opendht_minor_version.opendht_patch_version]) diff --git a/src/network_engine.cpp b/src/network_engine.cpp index 6471ae7b..53eea7ab 100644 --- a/src/network_engine.cpp +++ b/src/network_engine.cpp @@ -625,7 +625,7 @@ NetworkEngine::process(std::unique_ptr<ParsedMessage>&& msg, const SockAddr& fro } catch (const std::overflow_error& e) { if (logger_) logger_->e("Can't send value: buffer not large enough !"); - } catch (DhtProtocolException& e) { + } catch (const DhtProtocolException& e) { sendError(from, msg->tid, e.getCode(), e.getMsg().c_str(), true); } } -- GitLab