summaryrefslogtreecommitdiffstats
path: root/test/rspamd_memcached_test.c
diff options
context:
space:
mode:
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 467641897..6ce983282 100644
--- a/test/rspamd_memcached_test.c
+++ b/test/rspamd_memcached_test.c
@@ -74,7 +74,7 @@ rspamd_memcached_test_func ()
ctx->timeout.tv_usec = 0;
ctx->sock = -1;
ctx->options = MEMC_OPT_DEBUG;
- strlcpy (param->key, buf, sizeof (param->key));
+ g_strlcpy (param->key, buf, sizeof (param->key));
param->buf = buf;
param->bufsize = strlen (buf);
ctx->param = param;