X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/2473391971b10ab9fdec66714d25d2ba357a3ac8..191e40da17f9139cb702c48a7d708a4563ccc0c2:/token.c diff --git a/token.c b/token.c index 0b3aa999..9f33436b 100644 --- a/token.c +++ b/token.c @@ -51,7 +51,7 @@ void set_compression(char *fname) strlower(fname); for (tok=strtok(dont," ");tok;tok=strtok(NULL," ")) { - if (fnmatch(tok, fname, 0) == 0) { + if (wildmatch(tok, fname)) { compression_level = 0; break; }