]> source.dussan.org Git - rspamd.git/commitdiff
snprintf->rspamd_snprintf.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Feb 2015 15:33:28 +0000 (15:33 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 27 Feb 2015 15:33:28 +0000 (15:33 +0000)
src/libserver/cfg_rcl.c

index 0de3f6a1e3baa60c989fd71d3dace934529ad00f..21dff7dd1726b90f0325ba18738671fa4ba1431e 100644 (file)
@@ -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++) {