summaryrefslogtreecommitdiff
path: root/archive.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-10-15 22:27:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-10-16 17:27:26 (GMT)
commitb1cdfb54f10ca64dc57be0d9184dcb4c9c069eac (patch)
treed94a37a88f3aa80eeffbf5c9462d43e689b2bdd9 /archive.c
parentea6640ec3eb31191bafa6ed4d874d731173e1c15 (diff)
downloadgit-b1cdfb54f10ca64dc57be0d9184dcb4c9c069eac.zip
git-b1cdfb54f10ca64dc57be0d9184dcb4c9c069eac.tar.gz
git-b1cdfb54f10ca64dc57be0d9184dcb4c9c069eac.tar.bz2
archive.c: have SP around arithmetic operators
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive.c')
-rw-r--r--archive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive.c b/archive.c
index 99fadc8..346f3b2 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);
}