about summary refs log tree commit diff
path: root/scan-tree.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-03-03 23:21:33 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 09:12:54 -0500
commitbdae1d8a8d39206ac75ab86f8e9ef53b2f29432e (patch)
tree683306f79bd96a45566879acd21e5ff085120acd /scan-tree.c
parentFix several whitespace errors (diff)
downloadcgit-pink-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.tar.gz
cgit-pink-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.zip
White space around control verbs.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--scan-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan-tree.c b/scan-tree.c
index 98a99c9..10d90f4 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -185,7 +185,7 @@ static void scan_path(const char *base, const char *path, repo_config_fn fn)
 		add_repo(base, fmt("%s/.git", path), fn);
 		goto end;
 	}
-	while((ent = readdir(dir)) != NULL) {
+	while ((ent = readdir(dir)) != NULL) {
 		if (ent->d_name[0] == '.') {
 			if (ent->d_name[1] == '\0')
 				continue;