~mdw
/
sgt
/
halibut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
`version' needs to be declared `extern'.
[sgt/halibut]
/
bk_html.c
diff --git
a/bk_html.c
b/bk_html.c
index
4da897f
..
41a9f76
100644
(file)
--- 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) {
/* 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);
}
text = sresize(text, lenof(anonfrag), char);
strcpy(text, anonfrag);
}