From: Junio C Hamano Date: Tue, 15 Oct 2013 22:27:17 +0000 (-0700) Subject: archive.c: have SP around arithmetic operators X-Git-Tag: v1.8.5-rc0~14^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b1cdfb54f10ca64dc57be0d9184dcb4c9c069eac?ds=inline;hp=--cc archive.c: have SP around arithmetic operators Signed-off-by: Junio C Hamano --- b1cdfb54f10ca64dc57be0d9184dcb4c9c069eac diff --git a/archive.c b/archive.c index 99fadc88d0..346f3b2f1a 100644 --- a/archive.c +++ b/archive.c @@ -440,7 +440,7 @@ static int match_extension(const char *filename, const char *ext) * prefix is non-empty (k.e., we don't match .tar.gz with no actual * filename). */ - if (prefixlen < 2 || filename[prefixlen-1] != '.') + if (prefixlen < 2 || filename[prefixlen - 1] != '.') return 0; return !strcmp(filename + prefixlen, ext); }