From fd029201b00bab2948cbe0ed67ff162e10aa9dfe Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 23 Oct 2017 15:32:07 +0300 Subject: [PATCH] v2.4.2. --- src/net/Client.cpp | 5 ++++- src/version.h | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/net/Client.cpp b/src/net/Client.cpp index c6d683a2..88134ae7 100644 --- a/src/net/Client.cpp +++ b/src/net/Client.cpp @@ -220,7 +220,10 @@ bool Client::parseJob(const rapidjson::Value ¶ms, int *code) } if (m_job == job) { - LOG_WARN("[%s:%u] duplicate job received, reconnect", m_url.host(), m_url.port()); + if (!m_quiet) { + LOG_WARN("[%s:%u] duplicate job received, reconnect", m_url.host(), m_url.port()); + } + close(); return false; } diff --git a/src/version.h b/src/version.h index 76f61596..8d2e992f 100644 --- a/src/version.h +++ b/src/version.h @@ -27,7 +27,7 @@ #define APP_ID "xmrig" #define APP_NAME "XMRig" #define APP_DESC "XMRig CPU miner" -#define APP_VERSION "2.4.1" +#define APP_VERSION "2.4.2" #define APP_DOMAIN "xmrig.com" #define APP_SITE "www.xmrig.com" #define APP_COPYRIGHT "Copyright (C) 2016-2017 xmrig.com" @@ -35,7 +35,7 @@ #define APP_VER_MAJOR 2 #define APP_VER_MINOR 4 -#define APP_VER_BUILD 1 +#define APP_VER_BUILD 2 #define APP_VER_REV 0 #ifdef _MSC_VER