It seems that some popt releases don't define POPT_TABLEEND, so don't
authorWayne Davison <wayned@samba.org>
Thu, 14 Oct 2004 09:11:12 +0000 (09:11 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 14 Oct 2004 09:11:12 +0000 (09:11 +0000)
use it.

options.c

index 087a7ac..39d7ea3 100644 (file)
--- a/options.c
+++ b/options.c
@@ -408,7 +408,7 @@ static struct poptOption long_options[] = {
   {"ipv4",            '4', POPT_ARG_VAL,    &default_af_hint, AF_INET, 0, 0 },
   {"ipv6",            '6', POPT_ARG_VAL,    &default_af_hint, AF_INET6, 0, 0 },
 #endif
-  POPT_TABLEEND
+  {0,0,0,0, 0, 0, 0}
 };