diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-27 17:09:19 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-27 17:09:19 +0100 |
commit | fe57024591e73d052af72d60ca80971ab07566f0 (patch) | |
tree | 2adecd7bfff96712385494bb5bee7d199b643747 /contrib/libucl/ucl_internal.h | |
parent | e71ef0895c42bb24c6ea525524bcd37473272221 (diff) | |
download | rspamd-fe57024591e73d052af72d60ca80971ab07566f0.tar.gz rspamd-fe57024591e73d052af72d60ca80971ab07566f0.zip |
Fix libucl priority include bug.
Diffstat (limited to 'contrib/libucl/ucl_internal.h')
-rw-r--r-- | contrib/libucl/ucl_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libucl/ucl_internal.h b/contrib/libucl/ucl_internal.h index bdbe691d0..7528750ff 100644 --- a/contrib/libucl/ucl_internal.h +++ b/contrib/libucl/ucl_internal.h @@ -311,7 +311,7 @@ ucl_maybe_parse_boolean (ucl_object_t *obj, const unsigned char *start, size_t l } } - if (ret) { + if (ret && obj != NULL) { obj->type = UCL_BOOLEAN; obj->value.iv = val; } |