summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-07-09 13:49:08 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-07-09 13:49:08 +0200
commita42af9e700bcf54777b53b5d0ca999b3b0c107e9 (patch)
tree9574cd12f3711d3255fb96db7320dfa2da91133f
parent0af536a2be6d23fa221f61a77e89436b8fb2a015 (diff)
downloadbiboumi-a42af9e700bcf54777b53b5d0ca999b3b0c107e9.tar.gz
biboumi-a42af9e700bcf54777b53b5d0ca999b3b0c107e9.tar.bz2
biboumi-a42af9e700bcf54777b53b5d0ca999b3b0c107e9.tar.xz
biboumi-a42af9e700bcf54777b53b5d0ca999b3b0c107e9.zip
Fix the log_* macros to not have two ; at the end of lines
-rw-r--r--louloulibs/logger/logger.hpp8
-rw-r--r--louloulibs/xmpp/xmpp_parser.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/louloulibs/logger/logger.hpp b/louloulibs/logger/logger.hpp
index 78b1278..ab8bdf1 100644
--- a/louloulibs/logger/logger.hpp
+++ b/louloulibs/logger/logger.hpp
@@ -37,16 +37,16 @@
__FILENAME__ << ":" << __LINE__
#define log_debug(text)\
- Logger::instance()->get_stream(debug_lvl) << SD_DEBUG << WHERE << ":\t" << text << std::endl;
+ Logger::instance()->get_stream(debug_lvl) << SD_DEBUG << WHERE << ":\t" << text << std::endl
#define log_info(text)\
- Logger::instance()->get_stream(info_lvl) << SD_INFO << WHERE << ":\t" << text << std::endl;
+ Logger::instance()->get_stream(info_lvl) << SD_INFO << WHERE << ":\t" << text << std::endl
#define log_warning(text)\
- Logger::instance()->get_stream(warning_lvl) << SD_WARNING << WHERE << ":\t" << text << std::endl;
+ Logger::instance()->get_stream(warning_lvl) << SD_WARNING << WHERE << ":\t" << text << std::endl
#define log_error(text)\
- Logger::instance()->get_stream(error_lvl) << SD_ERR << WHERE << ":\t" << text << std::endl;
+ Logger::instance()->get_stream(error_lvl) << SD_ERR << WHERE << ":\t" << text << std::endl
/**
* Juste a structure representing a stream doing nothing with its input.
diff --git a/louloulibs/xmpp/xmpp_parser.cpp b/louloulibs/xmpp/xmpp_parser.cpp
index 6bb0d28..fbe525a 100644
--- a/louloulibs/xmpp/xmpp_parser.cpp
+++ b/louloulibs/xmpp/xmpp_parser.cpp
@@ -58,7 +58,7 @@ int XmppParser::feed(const char* data, const int len, const bool is_final)
if (res == XML_STATUS_ERROR &&
(XML_GetErrorCode(this->parser) != XML_ERROR_FINISHED))
log_error("Xml_Parse encountered an error: " <<
- XML_ErrorString(XML_GetErrorCode(this->parser)))
+ XML_ErrorString(XML_GetErrorCode(this->parser)));
return res;
}