]> code.citadel.org Git - citadel.git/commitdiff
* initialize this buffer empty. thanks valgrind.
authorWilfried Göesgens <willi@citadel.org>
Thu, 6 Sep 2007 21:05:14 +0000 (21:05 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 6 Sep 2007 21:05:14 +0000 (21:05 +0000)
webcit/calendar.c

index 4c7e071b5dcecd425a1f08851c179deb7f2c7d1e..c71f94ab2ed8526dbe844148d2f2018de23f3ec4 100644 (file)
@@ -776,6 +776,7 @@ void display_using_handler(long msgnum,
        char *relevant_source = NULL;
        icalcomponent *cal, *c;
 
+       relevant_partnum[0] = '\0';
        sprintf(buf, "MSG0 %ld|0", msgnum);     /* unfortunately we need the mime headers */
        serv_puts(buf);
        serv_getln(buf, sizeof buf);