diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-24 11:25:34 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-24 11:25:34 +0000 |
commit | 11e9de855ca84af8d34a5f6459f304fcfa72dca3 (patch) | |
tree | 0eb5d0505a50136ed74a4207219c42b9d4996402 /source3/web | |
parent | 223828642548c7e25f6189e274aa1edcdfe30c4f (diff) | |
download | samba-11e9de855ca84af8d34a5f6459f304fcfa72dca3.tar.gz samba-11e9de855ca84af8d34a5f6459f304fcfa72dca3.tar.bz2 samba-11e9de855ca84af8d34a5f6459f304fcfa72dca3.zip |
Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/swat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index 92dece6ecd..9a133e1330 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -1267,9 +1267,8 @@ static void printers_page(void) struct poptOption long_options[] = { POPT_AUTOHELP { "disable-authentication", 'a', POPT_ARG_VAL, &demo_mode, True, "Disable authentication (demo mode)" }, - { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version}, - { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_configfile}, - { 0, 0, 0, 0 } + POPT_COMMON_SAMBA + POPT_TABLEEND }; fault_setup(NULL); |