[Jack-Devel] [PATCH] server_control: properly end long_options[]
David Kastrup
dak at gnu.org
Thu May 4 11:38:02 CEST 2017
This caused segfaults on startup.
---
server_control.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/server_control.c b/server_control.c
index cd6c9f1..5743f54 100644
--- a/server_control.c
+++ b/server_control.c
@@ -151,6 +151,7 @@ int main(int argc, char *argv[])
struct option long_options[] = {
{"driver", 1, 0, 'd'},
{"client", 1, 0, 'c'},
+ {0, 0, 0, 0}
};
while ((opt = getopt_long (argc, argv, options, long_options, &option_index)) != EOF) {
--
2.11.0
More information about the Jackaudio
mailing list