From 165c9526cc693de3f15f2079e75c31d5cff86dda Mon Sep 17 00:00:00 2001 From: Alexander Moisseev Date: Sat, 3 Dec 2016 21:34:34 +0300 Subject: [PATCH] [Minor] Fix typo --- src/lua/lua_task.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 08accf998..b43cbfeb5 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -345,14 +345,14 @@ LUA_FUNCTION_DEF (task, has_from); /*** * @method task:get_from([type]) - * Return SMTP or MIME sender for a task. This function returns list of internet addresses each one is a table with the following structure: + * Return SMTP or MIME sender for a task. This function returns an internet address which one is a table with the following structure: * * - `name` - name of internet address in UTF8, e.g. for `Vsevolod Stakhov ` it returns `Vsevolod Stakhov` * - `addr` - address part of the address * - `user` - user part (if present) of the address, e.g. `blah` * - `domain` - domain part (if present), e.g. `foo.com` * @param {integer|string} type if specified has the following meaning: `0` or `any` means try SMTP sender and fallback to MIME if failed, `1` or `smtp` means checking merely SMTP sender and `2` or `mime` means MIME `From:` only - * @return {list of addresses} list of recipients or `nil` + * @return {address} sender or `nil` */ LUA_FUNCTION_DEF (task, get_from); /*** -- 2.39.5