diff options
Diffstat (limited to 'm_property.c')
-rw-r--r-- | m_property.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m_property.c b/m_property.c index da0f54e2c1..188d225bad 100644 --- a/m_property.c +++ b/m_property.c @@ -108,7 +108,8 @@ 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, opt->name, arg, false, val)) <= 0) { + if ((r = m_option_parse(opt, bstr(opt->name), bstr(arg), false, + val)) <= 0) { free(val); return r; } |