diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-16 15:02:26 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-16 15:02:26 +0000 |
commit | d4650b21e76684b52b5fe89da1071d1a11277811 (patch) | |
tree | 3453fe15cfde05cf25fdda41cf56c38e1bf5f0c5 | |
parent | 0e84a106463d59421cc235acafe34ae764e35bff (diff) | |
download | rspamd-d4650b21e76684b52b5fe89da1071d1a11277811.tar.gz rspamd-d4650b21e76684b52b5fe89da1071d1a11277811.zip |
Fix const qualifier usage
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index fa318c126..014a44183 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -2568,7 +2568,7 @@ rspamd_worker_param_key_hash (gconstpointer p) static gboolean rspamd_worker_param_key_equal (gconstpointer p1, gconstpointer p2) { - struct rspamd_worker_param_key *k1 = p1, *k2 = p2; + const struct rspamd_worker_param_key *k1 = p1, *k2 = p2; if (k1->ptr == k2->ptr) { return strcmp (k1->name, k2->name) == 0; |