diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-04 18:45:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-03-05 16:59:39 +0000 |
commit | b553c282fbe733ac35802845c0dfcfb316e2818d (patch) | |
tree | 8ab297a39f72bfc4dea82d4feeacca2ab2c3fa72 | |
parent | core: print the "new update found" message in cyan, for visibility (diff) | |
download | monero-b553c282fbe733ac35802845c0dfcfb316e2818d.tar.xz |
rpc: fix BUILD_TAG mispelling (BUILDTAG)
This ensures a manual or RPC update tries the right build tag,
rather than source, which is currently not setup
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp index b114f77ae..9f7e8aa38 100644 --- a/src/rpc/core_rpc_server.cpp +++ b/src/rpc/core_rpc_server.cpp @@ -1491,8 +1491,8 @@ namespace cryptonote bool core_rpc_server::on_update(const COMMAND_RPC_UPDATE::request& req, COMMAND_RPC_UPDATE::response& res) { static const char software[] = "monero"; -#ifdef BUILDTAG - static const char buildtag[] = BOOST_PP_STRINGIZE(BUILDTAG); +#ifdef BUILD_TAG + static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG); #else static const char buildtag[] = "source"; #endif |