summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Requests/LogRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/Requests/LogRequest.cpp')
-rw-r--r--src/Daemon/Requests/LogRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/Requests/LogRequest.cpp b/src/Daemon/Requests/LogRequest.cpp
index 0282649..1f1fdc8 100644
--- a/src/Daemon/Requests/LogRequest.cpp
+++ b/src/Daemon/Requests/LogRequest.cpp
@@ -32,7 +32,7 @@ void LogRequest::sendRequest() {
packet.set("category", category);
packet.set("level", level);
- packet.set("timestamp", boost::posix_time::to_iso_string(messageTimestamp));
+ packet.set("timestamp", boost::posix_time::to_iso_string(messageTimestamp).c_str());
packet.set("message", message);
packet.set("source", source);