commit c6ae01383682a97955a883bb8afef9b8cd4e74af
Author: Hiltjo Posthuma <[email protected]>
Date:   Fri Mar 22 12:59:56 2019 +0100

    build-page: small whitespace fixes

diff --git a/build-page.c b/build-page.c
index 7645edd2..b8585f88 100644
--- a/build-page.c
+++ b/build-page.c
@@ -121,19 +121,19 @@ stat_isfile(const char *f)
 int
 spawn_wait(char **argv)
 {
-        int status;
+       int status;
 
-        switch (fork()) {
+       switch (fork()) {
        case 0:
                execvp(argv[0], argv);
                exit(126);
        case -1:
                return -1;
-        }
+       }
        if (wait(&status) == -1)
                return -1;
 
-        return WIFEXITED(status) ? 0 : -1;
+       return WIFEXITED(status) ? 0 : -1;
 }
 
 int
@@ -219,8 +219,8 @@ menu_panel(char *domain, char *page, char *this, int depth)
                die_perror("opendir: %s", this ? this : ".");
 
        d_len = 0;
-       while(d_len < LEN(d_list) && (de = readdir(dp)))
-            d_list[d_len++] = xstrdup(de->d_name);
+       while (d_len < LEN(d_list) && (de = readdir(dp)))
+               d_list[d_len++] = xstrdup(de->d_name);
        closedir(dp);
 
        qsort(d_list, d_len, sizeof *d_list, qsort_strcmp);


Reply via email to