diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-12-03 19:48:15 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-12-03 19:48:15 +0300 |
commit | 42b81716ece887b0011b1e40b0101ad37598997e (patch) | |
tree | 62d7512875ea0e2adb47d524d23628d86e83b4d4 /test/rspamd_memcached_test.c | |
parent | d62fb36650acfd0863c32a78b0941a4c0d0e58b1 (diff) | |
download | rspamd-42b81716ece887b0011b1e40b0101ad37598997e.tar.gz rspamd-42b81716ece887b0011b1e40b0101ad37598997e.zip |
* Remove strlcpy code and replace it with glib alternative
* Polish code and remove bugs found
Diffstat (limited to 'test/rspamd_memcached_test.c')
-rw-r--r-- | test/rspamd_memcached_test.c | 2 |
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; |