Allow a ',' to prefix the MODIFIERS for a single-letter filter rule.
authorWayne Davison <wayned@samba.org>
Tue, 8 Feb 2005 18:47:25 +0000 (18:47 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 8 Feb 2005 18:47:25 +0000 (18:47 +0000)
exclude.c

index 1e0d31b..a7bd9ca 100644 (file)
--- 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) {