summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-24 18:51:58 +0100
committerVolker Lendecke <vl@samba.org>2010-01-24 20:32:17 +0100
commitbff48738a88875c5279e70f2886e894584f0cd7f (patch)
tree9de9073adec51e900b29683faacbdc3d83465f07 /source3
parentb8996baba613edd1e50bffa87647c41e03b08db3 (diff)
downloadsamba-bff48738a88875c5279e70f2886e894584f0cd7f.tar.gz
samba-bff48738a88875c5279e70f2886e894584f0cd7f.tar.bz2
samba-bff48738a88875c5279e70f2886e894584f0cd7f.zip
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...
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net.h2
1 files changed, 1 insertions, 1 deletions
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;