From bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 3 Mar 2013 23:21:33 -0500 Subject: White space around control verbs. Signed-off-by: Jason A. Donenfeld --- ui-snapshot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-snapshot.c') 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[] = { { ".tar.bz2", "application/x-bzip2", write_tar_bzip2_archive, 0x04 }, { ".tar", "application/x-tar", write_tar_archive, 0x08 }, { ".tar.xz", "application/x-xz", write_tar_xz_archive, 0x10 }, - {} + { NULL } }; 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) int fl, sl; fl = strlen(filename); - for(fmt = cgit_snapshot_formats; fmt->suffix; fmt++) { + for (fmt = cgit_snapshot_formats; fmt->suffix; fmt++) { sl = strlen(fmt->suffix); if (sl >= fl) continue; -- cgit v1.2.1