From bff48738a88875c5279e70f2886e894584f0cd7f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 24 Jan 2010 18:51:58 +0100 Subject: s3: Fix a bug in net's use of popt In order to add --use-ccache to net, I added another "bool opt_ccache;" to struct net_context. popt did not like this, it took a while to figure out why. Popt has the lines /* XXX Check alignment, may fail on funky platforms. */ if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1))) return POPT_ERROR_NULLARG; The "bool opt_ccache;" was not aligned anymore... --- source3/utils/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net.h b/source3/utils/net.h index 765b61bd56..3978459a62 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -70,7 +70,7 @@ struct net_context { const char *opt_exclude; const char *opt_destination; int opt_testmode; - bool opt_kerberos; + int opt_kerberos; int opt_force_full_repl; int opt_single_obj_repl; int opt_clean_old_entries; -- cgit