aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.c b/m_option.c
index 28a49a244d..4af943e98f 100644
--- a/m_option.c
+++ b/m_option.c
@@ -1428,7 +1428,7 @@ static int parse_obj_params(m_option_t* opt,char *name,
return M_OPT_INVALID;
desc = p->desc;
- r = get_obj_params(name,desc->name,cpy,desc,p->separator,&opts);
+ r = get_obj_params(name,desc->name,cpy,desc,p->separator,dst ? &opts : NULL);
free(cpy);
if(r < 0)
return r;