opnsense-ports/mail/cyrus-imapd38/files/patch-imap__jmap_mail_submission.c
Franco Fichtner 9c8054db2e */*: sync with upstream
Taken from: FreeBSD
2023-05-23 09:44:42 +02:00

11 lines
580 B
C

--- imap/jmap_mail_submission.c.orig 2023-03-01 02:54:30 UTC
+++ imap/jmap_mail_submission.c
@@ -229,7 +229,7 @@ static int _emailsubmission_address_parse(json_t *addr
if (holduntil) {
if (!strcasecmp(key, "HOLDFOR")) {
char *endptr = (char *) val;
- ulong interval = val ? strtoul(val, &endptr, 10) : ULONG_MAX;
+ unsigned long interval = val ? strtoul(val, &endptr, 10) : ULONG_MAX;
time_t now = time(0);
if (endptr == val || *endptr != '\0' ||