From 3f2970fadbe2d4dc7057d0c3b83faa93b8622bde Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 19 Dec 2015 14:47:37 +0000 Subject: [PATCH] Add missing semicolons after log statements --- src/blockchain_db/berkeleydb/db_bdb.cpp | 6 +++--- src/blockchain_utilities/blockchain_import.cpp | 2 +- src/blockchain_utilities/bootstrap_file.cpp | 2 +- src/common/scoped_message_writer.h | 2 +- src/cryptonote_core/blockchain.cpp | 6 +++--- src/cryptonote_core/miner.cpp | 2 +- src/p2p/net_node.inl | 2 +- src/simplewallet/simplewallet.cpp | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/blockchain_db/berkeleydb/db_bdb.cpp b/src/blockchain_db/berkeleydb/db_bdb.cpp index 07cb622a7..236bc4fe6 100644 --- a/src/blockchain_db/berkeleydb/db_bdb.cpp +++ b/src/blockchain_db/berkeleydb/db_bdb.cpp @@ -2176,7 +2176,7 @@ uint8_t BlockchainBDB::get_hard_fork_version(uint64_t height) const void BlockchainBDB::checkpoint_worker() const { - LOG_PRINT_L0("Entering BDB checkpoint thread.") + LOG_PRINT_L0("Entering BDB checkpoint thread."); int count = 0; while(m_run_checkpoint && m_open) { @@ -2188,12 +2188,12 @@ void BlockchainBDB::checkpoint_worker() const count = 0; if(m_env->txn_checkpoint(0, 0, 0) != 0) { - LOG_PRINT_L0("BDB txn_checkpoint failed.") + LOG_PRINT_L0("BDB txn_checkpoint failed."); break; } } } - LOG_PRINT_L0("Leaving BDB checkpoint thread.") + LOG_PRINT_L0("Leaving BDB checkpoint thread."); } void BlockchainBDB::fixup() diff --git a/src/blockchain_utilities/blockchain_import.cpp b/src/blockchain_utilities/blockchain_import.cpp index f20e051f3..98480f247 100644 --- a/src/blockchain_utilities/blockchain_import.cpp +++ b/src/blockchain_utilities/blockchain_import.cpp @@ -515,7 +515,7 @@ int import_from_file(FakeCore& simple_core, const std::string& import_file_path, #if !defined(BLOCKCHAIN_DB) || (BLOCKCHAIN_DB == DB_LMDB) simple_core.m_storage.get_db().show_stats(); #endif - LOG_PRINT_L0("Number of blocks imported: " << num_imported) + LOG_PRINT_L0("Number of blocks imported: " << num_imported); if (h > 0) // TODO: if there was an error, the last added block is probably at zero-based height h-2 LOG_PRINT_L0("Finished at block: " << h-1 << " total blocks: " << h); diff --git a/src/blockchain_utilities/bootstrap_file.cpp b/src/blockchain_utilities/bootstrap_file.cpp index d66d2f604..4a9d722e0 100644 --- a/src/blockchain_utilities/bootstrap_file.cpp +++ b/src/blockchain_utilities/bootstrap_file.cpp @@ -397,7 +397,7 @@ uint64_t BootstrapFile::seek_to_first_chunk(std::ifstream& import_file) throw std::runtime_error("Error in deserialization of bootstrap::file_info"); LOG_PRINT_L0("bootstrap file v" << unsigned(bfi.major_version) << "." << unsigned(bfi.minor_version)); LOG_PRINT_L0("bootstrap magic size: " << sizeof(file_magic)); - LOG_PRINT_L0("bootstrap header size: " << bfi.header_size) + LOG_PRINT_L0("bootstrap header size: " << bfi.header_size); uint64_t full_header_size = sizeof(file_magic) + bfi.header_size; import_file.seekg(full_header_size); diff --git a/src/common/scoped_message_writer.h b/src/common/scoped_message_writer.h index 77ba56200..c4d430c5e 100644 --- a/src/common/scoped_message_writer.h +++ b/src/common/scoped_message_writer.h @@ -88,7 +88,7 @@ public: { m_flush = false; - LOG_PRINT(m_oss.str(), m_log_level) + LOG_PRINT(m_oss.str(), m_log_level); if (epee::log_space::console_color_default == m_color) { diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 45ddc45e9..55571f57b 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -394,7 +394,7 @@ bool Blockchain::deinit() { LOG_PRINT_L3("Blockchain::" << __func__); - LOG_PRINT_L0("Closing IO Service.") + LOG_PRINT_L0("Closing IO Service."); // stop async service m_async_work_idle.reset(); m_async_pool.join_all(); @@ -2898,7 +2898,7 @@ bool Blockchain::prepare_handle_incoming_blocks(const std::listtop_block_hash(); if (block.prev_id != tophash) { - LOG_PRINT_L1("Skipping prepare blocks. New blocks don't belong to chain.") + LOG_PRINT_L1("Skipping prepare blocks. New blocks don't belong to chain."); return true; } } @@ -2958,7 +2958,7 @@ bool Blockchain::prepare_handle_incoming_blocks(const std::list addr_list; diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index d1ff09170..ad4cd5622 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -157,7 +157,7 @@ namespace { m_flush = false; - LOG_PRINT(m_oss.str(), m_log_level) + LOG_PRINT(m_oss.str(), m_log_level); if (epee::log_space::console_color_default == m_color) {