diff options
author | Eugene Kliuchnikov <eustas@google.com> | 2017-08-24 13:29:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 13:29:48 +0200 |
commit | 653543541319e2318d2fc572cf5c7f3275b9c12c (patch) | |
tree | 171c39078ed1944327083e7125bc2ee59160e67e /c/tools | |
parent | 4f455cac329d0c612887123c9dc6de9a66fa8490 (diff) | |
download | brotli-653543541319e2318d2fc572cf5c7f3275b9c12c.tar.gz |
Update (#589)
* cleanup
* fix `unbrotli` CLI
* Java retouch for faster JS decoder
Diffstat (limited to 'c/tools')
-rwxr-xr-x | c/tools/brotli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/tools/brotli.c b/c/tools/brotli.c index fe20e0d..557ec93 100755 --- a/c/tools/brotli.c +++ b/c/tools/brotli.c @@ -146,7 +146,7 @@ static Command ParseAlias(const char* name) { size_t unbrotli_len = strlen(unbrotli); name = FileName(name); /* Partial comparison. On Windows there could be ".exe" suffix. */ - if (strncmp(name, unbrotli, unbrotli_len)) { + if (strncmp(name, unbrotli, unbrotli_len) == 0) { char terminator = name[unbrotli_len]; if (terminator == 0 || terminator == '.') return COMMAND_DECOMPRESS; } |