updates: s/monerod/monero/ for the main download

Also print download success message as global log
This commit is contained in:
moneromooo-monero 2017-02-22 10:28:24 +00:00
parent 6a5dfb88d2
commit 9f17b1a30f
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -1088,7 +1088,7 @@ namespace cryptonote
//----------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------
bool core::check_updates() bool core::check_updates()
{ {
static const char software[] = "monerod"; static const char software[] = "monero";
static const char subdir[] = "cli"; // because it can never be simple static const char subdir[] = "cli"; // because it can never be simple
#ifdef BUILD_TAG #ifdef BUILD_TAG
static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG); static const char buildtag[] = BOOST_PP_STRINGIZE(BUILD_TAG);
@ -1141,7 +1141,7 @@ namespace cryptonote
MCERROR("updates", "Download from " << url << " does not match the expected hash"); MCERROR("updates", "Download from " << url << " does not match the expected hash");
return false; return false;
} }
MCINFO("updates", "New version downloaded to " << path); MGINFO("New version downloaded to " << path);
} }
else else
{ {