aboutsummaryrefslogtreecommitdiffstats
path: root/src/controller.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-22 17:39:46 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-22 17:39:46 +0000
commita93fbccaea8bcec71180add91cf9957dda2a1954 (patch)
tree7cbff1e474bf41d03def8536340d1610bad97bf2 /src/controller.c
parent89956e513656feed88e7bbb05348dcea3fc1d615 (diff)
downloadrspamd-a93fbccaea8bcec71180add91cf9957dda2a1954.tar.gz
rspamd-a93fbccaea8bcec71180add91cf9957dda2a1954.zip
[Fix] Fix various warnings and issues
Diffstat (limited to 'src/controller.c')
-rw-r--r--src/controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controller.c b/src/controller.c
index 1eeab1fc4..36261674c 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1500,7 +1500,7 @@ rspamd_controller_handle_lua (struct rspamd_http_connection_entry *conn_ent,
}
rspamd_snprintf (filebuf, sizeof (filebuf), "%s%c%T",
- ctx->static_files_dir, G_DIR_SEPARATOR, lookup);
+ ctx->static_files_dir, G_DIR_SEPARATOR, &lookup);
if (realpath (filebuf, realbuf) == NULL ||
lstat (realbuf, &st) == -1) {