aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-06 21:54:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-06 21:54:56 +0100
commit8d44eb3f2076f0861a30fc8a1e1258079e6ba64e (patch)
treec285bb7dae17ccd0f4082c8e17185c7d5abb51fe /src/libserver/protocol.c
parentcb8636bd612776fdefbffc9433339d6725fde0c5 (diff)
downloadrspamd-8d44eb3f2076f0861a30fc8a1e1258079e6ba64e.tar.gz
rspamd-8d44eb3f2076f0861a30fc8a1e1258079e6ba64e.zip
Fix misprint.
Diffstat (limited to 'src/libserver/protocol.c')
-rw-r--r--src/libserver/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/protocol.c b/src/libserver/protocol.c
index 9549ea047..6803353e4 100644
--- a/src/libserver/protocol.c
+++ b/src/libserver/protocol.c
@@ -438,7 +438,7 @@ rspamd_protocol_handle_headers (struct rspamd_task *task,
if (!res && task->cfg->strict_protocol_headers) {
msg_err (
"deny processing of a request with incorrect or unknown headers");
- g_set_error (&task->err, rspamd_protocol_quark, 400, "invalid header command");
+ g_set_error (&task->err, rspamd_protocol_quark(), 400, "invalid header command");
return FALSE;
}