aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff2html
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-03-25 17:28:01 +0000
committerrsc <devnull@localhost>2007-03-25 17:28:01 +0000
commit3087c4fe19c21abe3c30dc058ff4c54846569719 (patch)
treeb10c8eeb86367937a067c54c6313764fcf8bbacc /src/cmd/troff2html
parent2b66e58623a5b32a7304340f00a3dde8fe51020c (diff)
downloadplan9port-3087c4fe19c21abe3c30dc058ff4c54846569719.tar.gz
plan9port-3087c4fe19c21abe3c30dc058ff4c54846569719.tar.bz2
plan9port-3087c4fe19c21abe3c30dc058ff4c54846569719.zip
fix again
Diffstat (limited to 'src/cmd/troff2html')
-rw-r--r--src/cmd/troff2html/troff2html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/troff2html/troff2html.c b/src/cmd/troff2html/troff2html.c
index 91145c06..9f43946c 100644
--- a/src/cmd/troff2html/troff2html.c
+++ b/src/cmd/troff2html/troff2html.c
@@ -705,7 +705,7 @@ troffchar(char *s)
for(i=0; troffchars[i].name!=nil; i++)
if(strcmp(s, troffchars[i].name) == 0)
return troffchars[i].value;
- return s;
+ return strdup(s);
}
void