aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/logger
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/logger')
-rw-r--r--src/libserver/logger/logger.c4
-rw-r--r--src/libserver/logger/logger_file.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libserver/logger/logger.c b/src/libserver/logger/logger.c
index 568c0b8e9..4e48eae4e 100644
--- a/src/libserver/logger/logger.c
+++ b/src/libserver/logger/logger.c
@@ -16,8 +16,8 @@
#include "config.h"
#include "logger.h"
#include "rspamd.h"
-#include "map.h"
-#include "map_helpers.h"
+#include "libserver/maps/map.h"
+#include "libserver/maps/map_helpers.h"
#include "ottery.h"
#include "unix-std.h"
#include "logger_private.h"
diff --git a/src/libserver/logger/logger_file.c b/src/libserver/logger/logger_file.c
index 9a242ac61..d8ce15de2 100644
--- a/src/libserver/logger/logger_file.c
+++ b/src/libserver/logger/logger_file.c
@@ -89,7 +89,6 @@ direct_write_log_line (rspamd_logger_t *rspamd_log,
gboolean is_iov,
gint level_flags)
{
- gchar errmsg[128];
struct iovec *iov;
const gchar *line;
glong r;