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 /cmd.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 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ struct cgit_cmd *cgit_get_cmd(struct cgit_context *ctx) | |||
166 | ctx->qry.page = "repolist"; | 166 | ctx->qry.page = "repolist"; |
167 | } | 167 | } |
168 | 168 | ||
169 | for(i = 0; i < sizeof(cmds)/sizeof(*cmds); i++) | 169 | for (i = 0; i < sizeof(cmds)/sizeof(*cmds); i++) |
170 | if (!strcmp(ctx->qry.page, cmds[i].name)) | 170 | if (!strcmp(ctx->qry.page, cmds[i].name)) |
171 | return &cmds[i]; | 171 | return &cmds[i]; |
172 | return NULL; | 172 | return NULL; |