diff options
author | Alexander Bokovoy <ab@samba.org> | 2006-11-27 11:19:03 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2006-11-27 11:19:03 +0300 |
commit | 238439d736abaa0476687466f3a2acf245affadb (patch) | |
tree | c3827b858f9185b10ac2ab245791c7eda279f9f6 /ctdb | |
parent | 77f444b0adbc343ee57e3dc2b4063a0c0ed851b1 (diff) | |
download | samba-238439d736abaa0476687466f3a2acf245affadb.tar.gz samba-238439d736abaa0476687466f3a2acf245affadb.tar.xz samba-238439d736abaa0476687466f3a2acf245affadb.zip |
Fix popt handling, this fixes segfault while asking for --help
(This used to be ctdb commit b4d48ff750740cb398836c143930f2780a074885)
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/ctdb_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/ctdb_test.c b/ctdb/ctdb_test.c index a0ef91966b..bb92c02b41 100644 --- a/ctdb/ctdb_test.c +++ b/ctdb/ctdb_test.c @@ -79,6 +79,7 @@ int main(int argc, const char *argv[]) POPT_AUTOHELP { "nlist", 0, POPT_ARG_STRING, &nlist, 0, "node list file", "filename" }, { "listen", 0, POPT_ARG_STRING, &myaddress, 0, "address to listen on", "address" }, + POPT_TABLEEND }; int opt; const char **extra_argv; |