summaryrefslogtreecommitdiffstats
path: root/test/rspamd_memcached_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-21 11:57:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-08-21 11:57:15 +0100
commit767c6ccf61a0236ea91b82d3915c3983da455fc1 (patch)
treed206f071f4d8cde152a5e712569955cc823732f1 /test/rspamd_memcached_test.c
parent12f7fddff6c0ab1990c3b49312d5ccf07752186a (diff)
downloadrspamd-767c6ccf61a0236ea91b82d3915c3983da455fc1.tar.gz
rspamd-767c6ccf61a0236ea91b82d3915c3983da455fc1.zip
Refactor fetching functions slightly.
Diffstat (limited to 'test/rspamd_memcached_test.c')
-rw-r--r--test/rspamd_memcached_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rspamd_memcached_test.c b/test/rspamd_memcached_test.c
index 3ab62e7e7..0cd42c594 100644
--- a/test/rspamd_memcached_test.c
+++ b/test/rspamd_memcached_test.c
@@ -4,7 +4,7 @@
#include "../src/memcached.h"
#include "tests.h"
-u_char *buf = "test";
+static const u_char *buf = "test";
static void
memcached_callback (memcached_ctx_t *ctx, memc_error_t error, void *data)