1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/mail/dma/files/patch-spool.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

12 lines
337 B
C

--- spool.c.orig 2020-02-05 10:59:09 UTC
+++ spool.c
@@ -419,7 +419,7 @@ flushqueue_since(unsigned int period)
return (0);
/* Did the flush file get touched within the last period seconds? */
- if (st.st_mtim.tv_sec + period >= now.tv_sec)
+ if (st.st_mtim.tv_sec + (int)period >= now.tv_sec)
return (1);
else
return (0);