initialize 'tag' - value as valgrind tells us
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 19 Oct 2011 22:13:33 +0000 (00:13 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 19 Oct 2011 22:13:33 +0000 (00:13 +0200)
libcitadel/lib/html_to_ascii.c

index 6e4600ab19169317949538f7295e0404a4807268..29d0e31c44924568b97f03756c22f7e64845fdab 100644 (file)
@@ -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, "");