diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-27 15:33:28 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-27 15:33:28 +0000 |
commit | 755c318fc6f67687042a03719adf13e86399337b (patch) | |
tree | 4b41247539b50fcaae4ad8110878ca5da8b6f732 /src | |
parent | 58ed8f52a4fa827c8a63bfacfa69d342394fb7fe (diff) | |
download | rspamd-755c318fc6f67687042a03719adf13e86399337b.tar.gz rspamd-755c318fc6f67687042a03719adf13e86399337b.zip |
snprintf->rspamd_snprintf.
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index 0de3f6a1e..21dff7dd1 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -778,7 +778,7 @@ rspamd_rcl_add_module_path (struct rspamd_config *cfg, globbuf.gl_offs = 0; len = strlen (path) + sizeof ("*.lua"); pattern = g_malloc (len); - snprintf (pattern, len, "%s%s", path, "*.lua"); + rspamd_snprintf (pattern, len, "%s%s", path, "*.lua"); if (glob (pattern, GLOB_DOOFFS, NULL, &globbuf) == 0) { for (i = 0; i < globbuf.gl_pathc; i++) { |