aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-26 08:05:43 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-11-27 19:52:33 +0000
commit3c849188abcefff9c71c3c569353a965c4e466f2 (patch)
tree46da52995f8a1a1da75de94d8e0299dfd685e42f /src/rpc
parentMerge pull request #6174 (diff)
downloadmonero-3c849188abcefff9c71c3c569353a965c4e466f2.tar.xz
rpc: always set the update field in update on sucess
Coverity 205416
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/core_rpc_server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 9117b5b3a..dbacd489d 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -2617,6 +2617,7 @@ namespace cryptonote
{
RPC_TRACKER(update);
+ res.update = false;
if (m_core.offline())
{
res.status = "Daemon is running offline";