]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
White space around control verbs.
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 080725848d764af19363d2b922f4b949d8524a2f..ade85ea0976640c49ce71e8a718e5f5c2d7978ac 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -315,7 +315,7 @@ static void querystring_cb(const char *name, const char *value)
                ctx.qry.name = xstrdup(value);
        } else if (!strcmp(name, "mimetype")) {
                ctx.qry.mimetype = xstrdup(value);
-       } else if (!strcmp(name, "s")){
+       } else if (!strcmp(name, "s")) {
                ctx.qry.sort = xstrdup(value);
        } else if (!strcmp(name, "showmsg")) {
                ctx.qry.showmsg = atoi(value);
@@ -653,7 +653,7 @@ void print_repolist(FILE *f, struct cgit_repolist *list, int start)
 {
        int i;
 
-       for(i = start; i < list->count; i++)
+       for (i = start; i < list->count; i++)
                print_repo(f, &list->repos[i]);
 }