aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/worker_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-15 13:35:09 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-15 13:35:09 +0100
commitd6ba63371f1558539c9b0fab1640f80dae699bae (patch)
tree2827a9c842b0404fa701b6f88bc084951261593f /src/libserver/worker_util.h
parent9710cbb0853e4a0841e542e90c29e6e556aeed04 (diff)
downloadrspamd-d6ba63371f1558539c9b0fab1640f80dae699bae.tar.gz
rspamd-d6ba63371f1558539c9b0fab1640f80dae699bae.zip
Send controller reply now accepts variadic args.
Diffstat (limited to 'src/libserver/worker_util.h')
-rw-r--r--src/libserver/worker_util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libserver/worker_util.h b/src/libserver/worker_util.h
index d1aa1e862..f8cbccfa5 100644
--- a/src/libserver/worker_util.h
+++ b/src/libserver/worker_util.h
@@ -80,8 +80,7 @@ struct rspamd_custom_controller_command {
* @param error_msg error message
*/
void rspamd_controller_send_error (struct rspamd_http_connection_entry *entry,
- gint code,
- const gchar *error_msg);
+ gint code, const gchar *error_msg, ...);
/**
* Send a custom string using HTTP