From: Wilfried Goesgens Date: Wed, 19 Oct 2011 22:13:33 +0000 (+0200) Subject: initialize 'tag' - value as valgrind tells us X-Git-Tag: v8.11~406 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=e83d78b9d9bd2d5ad7b440fd6bc01efae2ad8cf6;hp=a80ade9d4c5b3e0dcd31b44418c5271e0c89a337 initialize 'tag' - value as valgrind tells us --- 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, "");