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
This commit is contained in:
moneromooo-monero 2017-03-04 18:45:33 +00:00
parent 02097c87eb
commit b553c282fb
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 2 deletions

View File

@ -1491,8 +1491,8 @@ namespace cryptonote
bool core_rpc_server::on_update(const COMMAND_RPC_UPDATE::request& req, COMMAND_RPC_UPDATE::response& res) bool core_rpc_server::on_update(const COMMAND_RPC_UPDATE::request& req, COMMAND_RPC_UPDATE::response& res)
{ {
static const char software[] = "monero"; static const char software[] = "monero";
#ifdef BUILDTAG #ifdef BUILD_TAG
static const char buildtag[] = BOOST_PP_STRINGIZE(BUILDTAG); static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG);
#else #else
static const char buildtag[] = "source"; static const char buildtag[] = "source";
#endif #endif