diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-18 12:12:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-18 12:12:14 +0100 |
commit | 4d129039d5eebf035f7d54c084de3073b2f570fe (patch) | |
tree | bc2fd4cc5952a05474dd4bc2e0b64f8e1ebc9793 /src/lua | |
parent | f185df70fae53484021b7a22263079a57cd07145 (diff) | |
parent | 28d2f7eb48047a5fdc0647b612aa942eacffb367 (diff) | |
download | rspamd-4d129039d5eebf035f7d54c084de3073b2f570fe.tar.gz rspamd-4d129039d5eebf035f7d54c084de3073b2f570fe.zip |
Merge pull request #1053 from moisseev/tld
[Minor] Fix `get_tld()` functions descriptions
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_url.c | 4 | ||||
-rw-r--r-- | src/lua/lua_util.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/lua_url.c b/src/lua/lua_url.c index 2fd34664b..b51487a88 100644 --- a/src/lua/lua_url.c +++ b/src/lua/lua_url.c @@ -338,8 +338,8 @@ lua_url_get_phished (lua_State *L) /*** * @method url:get_tld() - * Get top level domain part of the url host - * @return {string} top level part of the url host + * Get effective second level domain part (eSLD) of the url host + * @return {string} effective second level domain part (eSLD) of the url host */ static gint lua_url_get_tld (lua_State *L) diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 936c31ce0..03afb2913 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -164,10 +164,10 @@ LUA_FUNCTION_DEF (util, humanize_number); /*** * @function util.get_tld(host) - * Returns tld for the specified host + * Returns effective second level domain part (eSLD) for the specified host * * @param {string} host hostname - * @return {string} tld part of hostname or the full hostname + * @return {string} eSLD part of the hostname or the full hostname if eSLD was not found */ LUA_FUNCTION_DEF (util, get_tld); |