commit eb5177c: [Minor] Fix get_urls method

Vsevolod Stakhov vsevolod at highsecure.ru
Mon Feb 18 18:14:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-18 18:08:28 +0000
URL: https://github.com/rspamd/rspamd/commit/eb5177cf94ee3cd9941cd820dbd8ecfe6746bae2 (HEAD -> master)

[Minor] Fix get_urls method

---
 src/lua/lua_task.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index f9c1f3a39..8e1a851b4 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -1908,6 +1908,9 @@ lua_task_get_urls (lua_State * L)
 
 				g_strfreev (strvec);
 			}
+			else {
+				protocols_mask = default_mask;
+			}
 		}
 		else {
 			protocols_mask = default_mask;


More information about the Commits mailing list