aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--l4arg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/l4arg.c b/l4arg.c
index 4281f0c..30b2b67 100644
--- a/l4arg.c
+++ b/l4arg.c
@@ -151,7 +151,8 @@ LbsArgQopt* lbs_arg_qopt_new (const char* str) {
LbsArray* detail;
strv = lbs_arg_parse (str, ",", "\\", (LbsArgQuote[]) {
- { "\"", "\"", false }, { "\'", "\'", true }}, &detail);
+ { "\"", "\"", false }, { "\'", "\'", true }, { NULL, NULL, false}},
+ &detail);
if (strv == NULL || detail == NULL) {
return NULL;