diff options
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
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; |