summaryrefslogtreecommitdiff
path: root/token.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2010-06-19 09:47:00 -0700
committerWayne Davison <wayned@samba.org>2010-06-19 09:47:00 -0700
commit3be1d9beb226d24b763c0c97476f270d0f46760c (patch)
tree8aed8c64225adbae248f927f2909464c6727b3b0 /token.c
parent292a5c2b7249d9c78bfa4bfc9febd8e00e5b02c0 (diff)
downloadrsync-3be1d9beb226d24b763c0c97476f270d0f46760c.tar.gz
rsync-3be1d9beb226d24b763c0c97476f270d0f46760c.tar.bz2
rsync-3be1d9beb226d24b763c0c97476f270d0f46760c.zip
Fix compression-ignoring of upper-case suffixes.
Fixes bug 7512.
Diffstat (limited to 'token.c')
-rw-r--r--token.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/token.c b/token.c
index abc0ef5e..75d2b17b 100644
--- a/token.c
+++ b/token.c
@@ -192,6 +192,8 @@ void set_compression(const char *fname)
return;
while (1) {
+ if (isUpper(&ltr))
+ ltr = toLower(&ltr);
while (node->letter != ltr) {
if (node->letter > ltr)
return;