rpc: fix daemon mixed style set_log 2,category:level

This commit is contained in:
moneromooo-monero 2017-02-12 11:37:09 +00:00
parent 28d0b11fde
commit 38a1b9c956
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -736,7 +736,7 @@ namespace cryptonote
//------------------------------------------------------------------------------------------------------------------------------
bool core_rpc_server::on_set_log_categories(const COMMAND_RPC_SET_LOG_CATEGORIES::request& req, COMMAND_RPC_SET_LOG_CATEGORIES::response& res)
{
mlog_set_categories(req.categories.c_str());
mlog_set_log(req.categories.c_str());
res.status = CORE_RPC_STATUS_OK;
return true;
}