aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-06 13:48:35 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-06 13:48:35 +0100
commitd3a212a0e7ec28b4c9ed139b2d566155782bcba8 (patch)
treeeb65550e29665e9b56c796e378298f9d85dfcf8d /test
parent065d4b113a567567c4c93056d2c04abe877d8f71 (diff)
downloadrspamd-d3a212a0e7ec28b4c9ed139b2d566155782bcba8.tar.gz
rspamd-d3a212a0e7ec28b4c9ed139b2d566155782bcba8.zip
Use TLD file directly within API.
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/url.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lua/unit/url.lua b/test/lua/unit/url.lua
index dd6f4b760..a593ac153 100644
--- a/test/lua/unit/url.lua
+++ b/test/lua/unit/url.lua
@@ -42,7 +42,7 @@ context("URL check functions", function()
struct rspamd_url* rspamd_url_get_next (void *pool,
const char *start, char const **pos);
void * rspamd_mempool_new (unsigned long size);
- void rspamd_url_init (struct rspamd_config *cfg);
+ void rspamd_url_init (const char *tld_file);
]]
test("Extract urls from text", function()