diff options
author | Jason A. Donenfeld | 2013-03-03 23:21:33 -0500 |
---|---|---|
committer | Jason A. Donenfeld | 2013-03-04 09:12:54 -0500 |
commit | bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e (patch) | |
tree | 683306f79bd96a45566879acd21e5ff085120acd /ui-snapshot.c | |
parent | 53bc747d311d18642fa3ad0cc0de34f3899ed1f4 (diff) | |
download | cgit-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.tar.gz cgit-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.tar.bz2 cgit-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.zip |
White space around control verbs.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-snapshot.c')
-rw-r--r-- | ui-snapshot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-snapshot.c b/ui-snapshot.c index 7374d9d..281899d 100644 --- a/ui-snapshot.c +++ b/ui-snapshot.c | |||
@@ -72,7 +72,7 @@ const struct cgit_snapshot_format cgit_snapshot_formats[] = { | |||
72 | { ".tar.bz2", "application/x-bzip2", write_tar_bzip2_archive, 0x04 }, | 72 | { ".tar.bz2", "application/x-bzip2", write_tar_bzip2_archive, 0x04 }, |
73 | { ".tar", "application/x-tar", write_tar_archive, 0x08 }, | 73 | { ".tar", "application/x-tar", write_tar_archive, 0x08 }, |
74 | { ".tar.xz", "application/x-xz", write_tar_xz_archive, 0x10 }, | 74 | { ".tar.xz", "application/x-xz", write_tar_xz_archive, 0x10 }, |
75 | {} | 75 | { NULL } |
76 | }; | 76 | }; |
77 | 77 | ||
78 | static const struct cgit_snapshot_format *get_format(const char *filename) | 78 | static const struct cgit_snapshot_format *get_format(const char *filename) |
@@ -81,7 +81,7 @@ static const struct cgit_snapshot_format *get_format(const char *filename) | |||
81 | int fl, sl; | 81 | int fl, sl; |
82 | 82 | ||
83 | fl = strlen(filename); | 83 | fl = strlen(filename); |
84 | for(fmt = cgit_snapshot_formats; fmt->suffix; fmt++) { | 84 | for (fmt = cgit_snapshot_formats; fmt->suffix; fmt++) { |
85 | sl = strlen(fmt->suffix); | 85 | sl = strlen(fmt->suffix); |
86 | if (sl >= fl) | 86 | if (sl >= fl) |
87 | continue; | 87 | continue; |