X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fsmtp-dummy.c;h=1778a4577764eb08ee035a8bb8495bd96da4b541;hp=9da8202fd1ff8c0f7a9b91ff8f6490350831a5dc;hb=ac46c6fdc23c0699ec53972a4082588b046559a2;hpb=1351fc738417401e156a760cd86e1746867834fc diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c index 9da8202f..1778a457 100644 --- a/test/smtp-dummy.c +++ b/test/smtp-dummy.c @@ -159,6 +159,7 @@ main (int argc, char *argv[]) return 1; } + memset (&addr, 0, sizeof (addr)); addr.sin_family = AF_INET; addr.sin_port = htons (25025); addr.sin_addr = *(struct in_addr *) hostinfo->h_addr;