summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.c
diff options
context:
space:
mode:
authorTiago Natel <t.nateldemoura@f5.com>2019-10-11 10:00:06 +0000
committerTiago Natel <t.nateldemoura@f5.com>2019-10-11 10:00:06 +0000
commit0beb8ea5e13befbe607a107c3e8093226848811a (patch)
tree57d3134a7c3027bc5304365e295192911e220a5f /src/nxt_conf.c
parent09e7357b085aab4f29bdadceee112bd7a8ccf706 (diff)
downloadunit-0beb8ea5e13befbe607a107c3e8093226848811a.tar.gz
unit-0beb8ea5e13befbe607a107c3e8093226848811a.tar.bz2
Fixed passing false in namespace flags.
This patch closes #328 in github.
Diffstat (limited to 'src/nxt_conf.c')
-rw-r--r--src/nxt_conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nxt_conf.c b/src/nxt_conf.c
index 59eddd77..43820d2a 100644
--- a/src/nxt_conf.c
+++ b/src/nxt_conf.c
@@ -228,6 +228,13 @@ nxt_conf_get_integer(nxt_conf_value_t *value)
}
+uint8_t
+nxt_conf_get_boolean(nxt_conf_value_t *value)
+{
+ return value->u.boolean;
+}
+
+
nxt_uint_t
nxt_conf_object_members_count(nxt_conf_value_t *value)
{