aboutsummaryrefslogtreecommitdiffstats
path: root/exclude.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2005-02-08 18:47:25 +0000
committerWayne Davison <wayned@samba.org>2005-02-08 18:47:25 +0000
commit64b761c19a17fa009344ee593c555d6bc69c164c (patch)
treed06423445c376d13f705510972db6e27e75a8ac0 /exclude.c
parenta1ac8edd662130551a209b3bd17861cfc3584fd8 (diff)
downloadandroid_external_rsync-64b761c19a17fa009344ee593c555d6bc69c164c.tar.gz
android_external_rsync-64b761c19a17fa009344ee593c555d6bc69c164c.tar.bz2
android_external_rsync-64b761c19a17fa009344ee593c555d6bc69c164c.zip
Allow a ',' to prefix the MODIFIERS for a single-letter filter rule.
Diffstat (limited to 'exclude.c')
-rw-r--r--exclude.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/exclude.c b/exclude.c
index 1e0d31b1..a7bd9cae 100644
--- a/exclude.c
+++ b/exclude.c
@@ -688,6 +688,8 @@ static const char *parse_rule_tok(const char *p, uint32 mflags, int xflags,
break;
default:
ch = *s;
+ if (s[1] == ',')
+ s++;
break;
}
switch (ch) {