X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/12f0ee84ca3e9810b49601347e9ecc0a0d97e948..961ee75b995cd4a9b9ce31aab6e10ad61d8131dc:/bk_html.c diff --git a/bk_html.c b/bk_html.c index 4da897f..41a9f76 100644 --- a/bk_html.c +++ b/bk_html.c @@ -2101,7 +2101,7 @@ static char *html_sanitise_fragment(htmlfilelist *files, htmlfile *file, /* If there's nothing left, make something valid up */ if (!*text) { - static const char *anonfrag = "anon"; + static const char anonfrag[] = "anon"; text = sresize(text, lenof(anonfrag), char); strcpy(text, anonfrag); }