commit - 927861745076a7ca31ab93ce23ca92b93a7810d8
commit + b0a1bc86f331dd01ae3c07f8e24f619fcc63e431
blob - 6539b900e3b22803508e6487e1770c260a1749f5
blob + b7615e0dedf93e92cea3629a701249a856a9091a
--- gotweb/gotweb.c
+++ gotweb/gotweb.c
static struct gw_header *gw_init_header(void);
-static void gw_free_headers(struct gw_header *);
+static void gw_free_header(struct gw_header *);
static int gw_template(size_t, void *);
kerr = khtml_closeelem(gw_trans->gw_html_req, 2);
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
if (error == NULL && kerr != KCGI_OK)
error = gw_kcgi_error(kerr);
return error;
error = gw_output_blob_buf(gw_trans);
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
return error;
}
kerr = khtml_closeelem(gw_trans->gw_html_req, 1);
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
free(age);
if (error == NULL && kerr != KCGI_OK)
error = gw_kcgi_error(kerr);
}
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
TAILQ_FOREACH(n_header, &gw_trans->gw_headers, entry)
- gw_free_headers(n_header);
+ gw_free_header(n_header);
free(age);
free(href_diff);
free(href_blob);
}
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
TAILQ_FOREACH(n_header, &gw_trans->gw_headers, entry)
- gw_free_headers(n_header);
+ gw_free_header(n_header);
free(age);
free(href_diff);
free(href_blob);
kerr = khtml_closeelem(gw_trans->gw_html_req, 1);
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
free(tree_html_disp);
free(tree_html);
free(tree);
kerr = khtml_closeelem(gw_trans->gw_html_req, 1);
done:
got_ref_list_free(&header->refs);
- gw_free_headers(header);
+ gw_free_header(header);
if (error == NULL && kerr != KCGI_OK)
error = gw_kcgi_error(kerr);
return error;
}
static void
-gw_free_headers(struct gw_header *header)
+gw_free_header(struct gw_header *header)
{
free(header->id);
free(header->path);