X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/3c0b1ebf78c850d7342f72abce4f39e335e4cdb8..fe332038c6776f749b86fcdb81058fb7c244b037:/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; }