commit e9cf004: [Minor] UCL: Don't set cur_file twice
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Dec 27 18:28:07 UTC 2018
Author: Vsevolod Stakhov
Date: 2018-12-13 13:57:55 +0000
URL: https://github.com/rspamd/rspamd/commit/e9cf00459aa1e4d6501c0c0da7ab488f6d4be801
[Minor] UCL: Don't set cur_file twice
---
contrib/libucl/ucl_util.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/contrib/libucl/ucl_util.c b/contrib/libucl/ucl_util.c
index 10e5df61f..fb185e48b 100644
--- a/contrib/libucl/ucl_util.c
+++ b/contrib/libucl/ucl_util.c
@@ -1149,7 +1149,6 @@ ucl_include_file_single (const unsigned char *data, size_t len,
}
old_curfile = parser->cur_file;
- parser->cur_file = strdup (realbuf);
/* Store old file vars */
DL_FOREACH_SAFE (parser->variables, cur_var, tmp_var) {
More information about the Commits
mailing list