diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/.depends | 3 | ||||
-rw-r--r-- | test/rspamd_memcached_test.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/test/.depends b/test/.depends index 984f4699c..6312d8dd2 100644 --- a/test/.depends +++ b/test/.depends @@ -1,6 +1,3 @@ -#if HAVE_STRLCPY_H -../src/strlcpy.c -#endif ../src/mem_pool.c ../src/url.c ../src/util.c 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; |