aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-22 23:20:12 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-03-22 23:20:12 +0000
commit8c53673d2859ba9ba328d2aa3013f28cf56c36af (patch)
tree4e000ad0eaded4fb78948daa55edc6f767aaeab6 /src/libserver/task.h
parent224ae26ff972f2d6d53994e3d89ca2a9105a6911 (diff)
downloadrspamd-8c53673d2859ba9ba328d2aa3013f28cf56c36af.tar.gz
rspamd-8c53673d2859ba9ba328d2aa3013f28cf56c36af.zip
Constify cache add key argument.
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index f4f22823f..21df26535 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -227,7 +227,7 @@ gboolean rspamd_task_add_sender (struct rspamd_task *task, const gchar *sender);
* @param value value to add
* @return previous value of element or RSPAMD_TASK_CACHE_NO_VALUE
*/
-guint rspamd_task_re_cache_add (struct rspamd_task *task, gchar *re,
+guint rspamd_task_re_cache_add (struct rspamd_task *task, const gchar *re,
guint value);
/**