mirror of
https://git.zx2c4.com/cgit
synced 2025-08-29 22:19:27 +02:00
White space around control verbs.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
53bc747d31
commit
bdae1d8a8d
16 changed files with 42 additions and 42 deletions
2
cmd.c
2
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue