freebsd-ports/mail/dma/files/patch-mail.c
Renato Botelho 07fa21db68 mail/dma: Fix compiler warning
- Make verify_server_fingerprint() static and fix compiler warning
- While here, re-generate other patches with `make makepatch`

Sponsored by:	Rubicon Communications, LLC ("Netgate")
2021-02-11 14:08:44 +00:00

11 lines
322 B
C

--- mail.c.orig 2020-02-05 10:59:09 UTC
+++ mail.c
@@ -335,7 +335,7 @@ newaddr:
ps->pos = 0;
addr = strdup(ps->addr);
if (addr == NULL)
- errlog(EX_SOFTWARE, NULL);
+ errlog(EX_SOFTWARE, "strdup failed");
if (add_recp(queue, addr, EXPAND_WILDCARD) != 0)
errlogx(EX_DATAERR, "invalid recipient `%s'", addr);