summaryrefslogtreecommitdiffstats
path: root/m_property.c
diff options
context:
space:
mode:
Diffstat (limited to 'm_property.c')
-rw-r--r--m_property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_property.c b/m_property.c
index 762ad73b7d..6eaaf92eeb 100644
--- a/m_property.c
+++ b/m_property.c
@@ -108,7 +108,7 @@ int m_property_do(const m_option_t *prop_list, const char *name,
if (!arg)
return M_PROPERTY_ERROR;
val = calloc(1, opt->type->size);
- if ((r = m_option_parse(opt, bstr(opt->name), bstr(arg), false,
+ if ((r = m_option_parse(opt, bstr0(opt->name), bstr0(arg), false,
val)) <= 0) {
free(val);
return r;