From: Alexander Bokovoy Date: Mon, 27 Nov 2006 08:19:03 +0000 (+0300) Subject: Fix popt handling, this fixes segfault while asking for --help X-Git-Tag: tevent-0.9.20~348^2~3018^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=238439d736abaa0476687466f3a2acf245affadb;p=thirdparty%2Fsamba.git Fix popt handling, this fixes segfault while asking for --help (This used to be ctdb commit b4d48ff750740cb398836c143930f2780a074885) --- 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;