X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=libcitadel%2Flib%2Fhtml_to_ascii.c;fp=libcitadel%2Flib%2Fhtml_to_ascii.c;h=29d0e31c44924568b97f03756c22f7e64845fdab;hb=e83d78b9d9bd2d5ad7b440fd6bc01efae2ad8cf6;hp=6e4600ab19169317949538f7295e0404a4807268;hpb=a80ade9d4c5b3e0dcd31b44418c5271e0c89a337;p=citadel.git 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, "");