From e83d78b9d9bd2d5ad7b440fd6bc01efae2ad8cf6 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Thu, 20 Oct 2011 00:13:33 +0200 Subject: [PATCH] initialize 'tag' - value as valgrind tells us --- libcitadel/lib/html_to_ascii.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libcitadel/lib/html_to_ascii.c b/libcitadel/lib/html_to_ascii.c index 6e4600ab1..29d0e31c4 100644 --- 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]; + tag[0] = '\0'; strcpy(nl, "\n"); inptr = inputmsg; strcpy(inbuf, ""); -- 2.30.2