]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix popt handling, this fixes segfault while asking for --help
authorAlexander Bokovoy <ab@samba.org>
Mon, 27 Nov 2006 08:19:03 +0000 (11:19 +0300)
committerAlexander Bokovoy <ab@samba.org>
Mon, 27 Nov 2006 08:19:03 +0000 (11:19 +0300)
(This used to be ctdb commit b4d48ff750740cb398836c143930f2780a074885)

ctdb/ctdb_test.c

index a0ef91966b9da3a5b377bd70cebb94c7e1225070..bb92c02b41cc761a3232be85ee5c932f78420b18 100644 (file)
@@ -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;