summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Backends
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/Backends')
-rw-r--r--src/Daemon/Backends/NetworkLogger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Daemon/Backends/NetworkLogger.h b/src/Daemon/Backends/NetworkLogger.h
index 1c5749d..10f5d25 100644
--- a/src/Daemon/Backends/NetworkLogger.h
+++ b/src/Daemon/Backends/NetworkLogger.h
@@ -34,8 +34,8 @@ class NetworkLogger : public Common::Logger {
protected:
virtual void logMessage(Common::Logger::MessageCategory category, Common::Logger::MessageLevel level, time_t messageTimestamp, const std::string &message) {
- Common::RequestManager::get()->sendRequest4<Requests::LogRequest>(connection,
- category, level, messageTimestamp, message);
+ boost::shared_ptr<Requests::LogRequest> request(new Requests::LogRequest(category, level, messageTimestamp, message));
+ Common::RequestManager::get()->sendRequest(connection, request);
}
public: