diff options
Diffstat (limited to 'httpd.h')
-rw-r--r-- | httpd.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -473,10 +473,10 @@ static off_t write_loc_name(FILE *fp, const struct src_loc *l) } if (l->f) { fputs(l->f->fn, fp); - if (l->lineno == UINT_MAX) + if (l->lineno == U24_MAX) FPUTS(":-", fp); else - fprintf(fp, ":%zu", l->lineno); + fprintf(fp, ":%u", l->lineno); } if (l->bt_len) { AUTO_FREE char **s = bt_syms(l->bt, l->bt_len); @@ -703,7 +703,7 @@ static enum mw_qev each_gt(struct mw_h1 *h1, struct mw_h1req *h1r, hsl->live, hsl->mean_life, hsl->max_life); FPUTS("<td><a\nhref=\"../at/", fp); - write_b64_url(fp, (const void *)&hsl->sl->f, + write_b64_url(fp, src_loc_hash_tip(hsl->sl), src_loc_hash_len(hsl->sl)); FPUTS("\">", fp); |