diff options
Diffstat (limited to 'src/statfile_sync.c')
-rw-r--r-- | src/statfile_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statfile_sync.c b/src/statfile_sync.c index 2d2ead525..5189f1ead 100644 --- a/src/statfile_sync.c +++ b/src/statfile_sync.c @@ -114,7 +114,7 @@ parse_revision_line (struct rspamd_sync_ctx *ctx, f_str_t *in) /* One more character */ p ++; } - g_strlcpy (numbuf, c, MIN (p - c + 1, sizeof (numbuf))); + rspamd_strlcpy (numbuf, c, MIN (p - c + 1, sizeof (numbuf))); errno = 0; *val = strtoull (numbuf, NULL, 10); if (errno != 0) { |