summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/pyparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 663ed84fbd..d5049d7d66 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -143,8 +143,8 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha
PyString_FromString(strlist[j]));
return pylist;
}
-
- break;
+ case P_SEP:
+ return NULL; /* this stands for a separator, can be ignored */
}
return NULL;