From 238439d736abaa0476687466f3a2acf245affadb Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mon, 27 Nov 2006 11:19:03 +0300 Subject: [PATCH] Fix popt handling, this fixes segfault while asking for --help (This used to be ctdb commit b4d48ff750740cb398836c143930f2780a074885) --- ctdb/ctdb_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ctdb/ctdb_test.c b/ctdb/ctdb_test.c index a0ef91966b9..bb92c02b41c 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;