aboutsummaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 05:21:33 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 15:12:54 +0100
commitbdae1d8a8d39206ac75ab86f8e9ef53b2f29432e (patch)
tree683306f79bd96a45566879acd21e5ff085120acd /cmd.c
parent53bc747d311d18642fa3ad0cc0de34f3899ed1f4 (diff)
downloadcgit-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.tar.gz
cgit-bdae1d8a8d39206ac75ab86f8e9ef53b2f29432e.tar.xz
White space around control verbs.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 899e913..198bf2f 100644
--- a/cmd.c
+++ b/cmd.c
@@ -166,7 +166,7 @@ struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx)
ctx->qry.page = "repolist";
}
- for(i = 0; i < sizeof(cmds)/sizeof(*cmds); i++)
+ for (i = 0; i < sizeof(cmds)/sizeof(*cmds); i++)
if (!strcmp(ctx->qry.page, cmds[i].name))
return &cmds[i];
return NULL;