diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-08 01:51:27 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-10-08 01:51:27 +0000 |
commit | 5b3c8505a563dbb9702028a2254f0ff75798f6fe (patch) | |
tree | 5780801a4e5156a0c8223ea0ff77007ee6bcbd86 /mail/dma/files/patch-spool.c | |
parent | - Switch to options helpers (diff) |
- Drop 8.x support
- Fix staging on 11.x
Approved by: portmgr blanket
Diffstat (limited to 'mail/dma/files/patch-spool.c')
-rw-r--r-- | mail/dma/files/patch-spool.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/dma/files/patch-spool.c b/mail/dma/files/patch-spool.c new file mode 100644 index 000000000000..0ebbfa10fca2 --- /dev/null +++ b/mail/dma/files/patch-spool.c @@ -0,0 +1,11 @@ +--- spool.c.orig 2013-06-03 14:03:15.000000000 +0000 ++++ spool.c 2013-08-22 11:07:47.000000000 +0000 +@@ -415,7 +415,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); |