projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
948f8ff
)
minor href fix
author
Art Cancro
<ajc@citadel.org>
Thu, 3 Nov 2005 22:22:34 +0000
(22:22 +0000)
committer
Art Cancro
<ajc@citadel.org>
Thu, 3 Nov 2005 22:22:34 +0000
(22:22 +0000)
webcit/html2html.c
patch
|
blob
|
history
diff --git
a/webcit/html2html.c
b/webcit/html2html.c
index f41ac542a69977a5b479c5bb3f73902998c44171..26bd46f60ddbb5cd33952ada772e6cc84a45f672 100644
(file)
--- a/
webcit/html2html.c
+++ b/
webcit/html2html.c
@@
-41,18
+41,18
@@
void output_html(char *charset) {
#endif
msg = strdup("");
#endif
msg = strdup("");
- sprintf(new_window, "<
A TARGET=\"%s\" HREF
=", TARGET);
+ sprintf(new_window, "<
a target=\"%s\" href
=", TARGET);
while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
line_length = strlen(buf);
buffer_length = content_length + line_length + 2;
msg = realloc(msg, buffer_length);
if (msg == NULL) {
while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
line_length = strlen(buf);
buffer_length = content_length + line_length + 2;
msg = realloc(msg, buffer_length);
if (msg == NULL) {
- wprintf("<
B
>");
+ wprintf("<
b
>");
wprintf(_("realloc() error! couldn't get %d bytes: %s"),
buffer_length + 1,
strerror(errno));
wprintf(_("realloc() error! couldn't get %d bytes: %s"),
buffer_length + 1,
strerror(errno));
- wprintf("</
B
><br /><br />\n");
+ wprintf("</
b
><br /><br />\n");
return;
}
strcpy(&msg[content_length], buf);
return;
}
strcpy(&msg[content_length], buf);