projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a80ade9
)
initialize 'tag' - value as valgrind tells us
author
Wilfried Goesgens
<dothebart@citadel.org>
Wed, 19 Oct 2011 22:13:33 +0000
(
00:13
+0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Wed, 19 Oct 2011 22:13:33 +0000
(
00:13
+0200)
libcitadel/lib/html_to_ascii.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/html_to_ascii.c
b/libcitadel/lib/html_to_ascii.c
index 6e4600ab19169317949538f7295e0404a4807268..29d0e31c44924568b97f03756c22f7e64845fdab 100644
(file)
--- a/
libcitadel/lib/html_to_ascii.c
+++ b/
libcitadel/lib/html_to_ascii.c
@@
-67,6
+67,7
@@
char *html_to_ascii(const char *inputmsg, int msglen, int screenwidth, int do_ci
int bytes_processed = 0;
char nl[128];
int bytes_processed = 0;
char nl[128];
+ tag[0] = '\0';
strcpy(nl, "\n");
inptr = inputmsg;
strcpy(inbuf, "");
strcpy(nl, "\n");
inptr = inputmsg;
strcpy(inbuf, "");