summaryrefslogtreecommitdiff
path: root/mail/dma/files/patch-dma.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2010-08-11 09:51:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2010-08-11 09:51:48 +0000
commitc8dfe0d763fe1cdb315eaad68366896e8c71d133 (patch)
tree2e648e4e7263a9d244f26ca817f4e72244e27344 /mail/dma/files/patch-dma.c
parent- Update to 1.16 (diff)
- Update to 20091004
- Add license - Remove the now useless dma.rb Approved by: rene@ (mentor vacation)
Notes
Notes: svn path=/head/; revision=259104
Diffstat (limited to 'mail/dma/files/patch-dma.c')
-rw-r--r--mail/dma/files/patch-dma.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/dma/files/patch-dma.c b/mail/dma/files/patch-dma.c
new file mode 100644
index 000000000000..8fdd730cd224
--- /dev/null
+++ b/mail/dma/files/patch-dma.c
@@ -0,0 +1,11 @@
+--- ./dma.c.orig 2010-08-10 17:48:35.000000000 +0200
++++ ./dma.c 2010-08-11 08:02:15.966237154 +0200
+@@ -295,7 +295,7 @@
+ exit(1);
+ }
+ if (gettimeofday(&now, NULL) == 0 &&
+- (now.tv_sec - st.st_mtim.tv_sec > MAX_TIMEOUT)) {
++ (now.tv_sec - st.st_mtime > MAX_TIMEOUT)) {
+ asprintf(__DECONST(void *, &errmsg),
+ "Could not deliver for the last %d seconds. Giving up.",
+ MAX_TIMEOUT);