commit - 4b60fecedffa10e9ad1531cab9b5827c17e9d059
commit + 0b20762bef9e00709ec2e20ed35013dbb996de4a
blob - 1ec59fcb2d686c29ccf23365cf46cbfb8d164bf6
blob + eea10c4394ac30588f88b7149f0bff6836885e9f
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
#include <errno.h>
#include <regex.h>
#include <stdarg.h>
-#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
char *description = NULL, *d_file = NULL;
unsigned int len;
- if (gw_trans->gw_conf->got_show_repo_description == false)
+ if (gw_trans->gw_conf->got_show_repo_description == 0)
goto err;
if (asprintf(&d_file, "%s/description", dir) == -1)
if (strncmp(repo_ref, "refs/heads/", 11) == 0)
is_head = 1;
- if (gw_trans->gw_conf->got_show_repo_age == false)
+ if (gw_trans->gw_conf->got_show_repo_age == 0)
return strdup("");
error = got_repo_open(&repo, dir, NULL);
char *comp, *pos, *buf;
unsigned int i;
- if (gw_trans->gw_conf->got_show_repo_owner == false)
+ if (gw_trans->gw_conf->got_show_repo_owner == 0)
goto err;
if (asprintf(&d_file, "%s/config", dir) == -1)