From: Jeremy Harris Date: Tue, 24 Mar 2015 16:32:16 +0000 (+0000) Subject: tidying X-Git-Tag: exim-4_86_RC1~94 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/69cbeaec9d414796f70ab0a98b581895cae0be89?hp=bf7aabb41b04efb076bed9de84b15b03f3006073 tidying --- diff --git a/src/src/ip.c b/src/src/ip.c index 5b37e3898..f6c7433f5 100644 --- a/src/src/ip.c +++ b/src/src/ip.c @@ -101,7 +101,7 @@ int ip_addr(void * sin_, int af, const uschar * address, int port) { union sockaddr_46 * sin = sin_; -memset(sin, 0, sizeof(sin)); +memset(sin, 0, sizeof(*sin)); /* Setup code when using an IPv6 socket. The wildcard address is ":", to ensure an IPv6 socket is used. */ diff --git a/src/src/tlscert-gnu.c b/src/src/tlscert-gnu.c index dd48d6fe9..98ee730d6 100644 --- a/src/src/tlscert-gnu.c +++ b/src/src/tlscert-gnu.c @@ -182,7 +182,7 @@ return string_copy(sp); uschar * tls_cert_signature(void * cert, uschar * mod) { -uschar * cp1; +uschar * cp1 = NULL; uschar * cp2; uschar * cp3; size_t len = 0;