X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/353bc75ddcc747e241296418a985ad2b265a86cf..e6fde1f73e5a102d808e0b2dc7f3367b7054dc5b:/html.c diff --git a/html.c b/html.c index f7f8c3e..48f1827 100644 --- a/html.c +++ b/html.c @@ -13,7 +13,7 @@ #include "agedu.h" #include "html.h" -#include "malloc.h" +#include "alloc.h" #include "trie.h" #include "index.h" @@ -425,7 +425,7 @@ char *html_query(const void *t, unsigned long index, */ htprintf(ctx, "\n"); trie_getpath(t, index, path); - htprintf(ctx, "agedu: "); + htprintf(ctx, "<title>%s: ", PNAME); htescape(ctx, path, strlen(path), 0); htprintf(ctx, "\n"); htprintf(ctx, "\n");