Skip to content
Snippets Groups Projects
Commit c754b5cf authored by Adrien Béraud's avatar Adrien Béraud
Browse files

update to version 2.1.0

parent b0c12497
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ include(CMakeDependentOption) ...@@ -4,7 +4,7 @@ include(CMakeDependentOption)
project (opendht) project (opendht)
set (opendht_VERSION_MAJOR 2) 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 (opendht_VERSION ${opendht_VERSION_MAJOR}.${opendht_VERSION_MINOR})
set (PACKAGE_VERSION ${opendht_VERSION}) set (PACKAGE_VERSION ${opendht_VERSION})
set (VERSION "${opendht_VERSION}") set (VERSION "${opendht_VERSION}")
......
dnl define macros dnl define macros
m4_define([opendht_major_version], 2) 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_patch_version], 0)
m4_define([opendht_version], m4_define([opendht_version],
[opendht_major_version.opendht_minor_version.opendht_patch_version]) [opendht_major_version.opendht_minor_version.opendht_patch_version])
......
...@@ -625,7 +625,7 @@ NetworkEngine::process(std::unique_ptr<ParsedMessage>&& msg, const SockAddr& fro ...@@ -625,7 +625,7 @@ NetworkEngine::process(std::unique_ptr<ParsedMessage>&& msg, const SockAddr& fro
} catch (const std::overflow_error& e) { } catch (const std::overflow_error& e) {
if (logger_) if (logger_)
logger_->e("Can't send value: buffer not large enough !"); 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); sendError(from, msg->tid, e.getCode(), e.getMsg().c_str(), true);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment