opnsense-ports/mail/dma/files/patch-spool.c
Franco Fichtner 8758ae3186 */*: sync with upstream
Taken from: FreeBSD
2016-02-15 04:34:34 +01:00

11 lines
337 B
C

--- spool.c.orig 2016-02-07 12:41:49 UTC
+++ spool.c
@@ -416,7 +416,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);