summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2006-11-27 11:19:03 +0300
committerAlexander Bokovoy <ab@samba.org>2006-11-27 11:19:03 +0300
commit238439d736abaa0476687466f3a2acf245affadb (patch)
treec3827b858f9185b10ac2ab245791c7eda279f9f6 /ctdb
parent77f444b0adbc343ee57e3dc2b4063a0c0ed851b1 (diff)
downloadsamba-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.c1
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;