diff --git a/CMakeLists.txt b/CMakeLists.txt index c5a69f0e935b9bc131bae3e393e3fc36a7325e40..823a5fc47e17c8f878cb9ab4f3fb2c0433f45d5d 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 9c2b32645fceba56c7926b26bfef8c8ed74c179f..21072387e05c12984749fc415f7689b282ef1b59 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 6471ae7b05235af08268e236d9bcb967810cd087..53eea7ab2eed1e79563e3c70481758ca0b17e640 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); } }