summaryrefslogtreecommitdiffstats
path: root/contrib/csup
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2008-11-26 19:27:51 +0000
committerlulf <lulf@FreeBSD.org>2008-11-26 19:27:51 +0000
commit7f6c5eb21eda00b5a27704e4be18ce250fcb3a1f (patch)
treec2629241b8c0d3a91f16abe6fe6094f7c9bfd8f6 /contrib/csup
parent12b41ef604fc6f8ac6a832c800c59e14b23cfbda (diff)
downloadFreeBSD-src-7f6c5eb21eda00b5a27704e4be18ce250fcb3a1f.zip
FreeBSD-src-7f6c5eb21eda00b5a27704e4be18ce250fcb3a1f.tar.gz
- Fix a bug in csup where SKIP is not obeyed when sending collection
information.
Diffstat (limited to 'contrib/csup')
-rw-r--r--contrib/csup/proto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/csup/proto.c b/contrib/csup/proto.c
index 04d6256..421ccff 100644
--- a/contrib/csup/proto.c
+++ b/contrib/csup/proto.c
@@ -365,6 +365,8 @@ proto_xchgcoll(struct config *config)
s = config->server;
lprintf(2, "Exchanging collection information\n");
STAILQ_FOREACH(coll, &config->colls, co_next) {
+ if (coll->co_options & CO_SKIP)
+ continue;
proto_printf(s, "COLL %s %s %o %d\n", coll->co_name,
coll->co_release, coll->co_umask, coll->co_options);
for (i = 0; i < pattlist_size(coll->co_accepts); i++) {
OpenPOWER on IntegriCloud