summaryrefslogtreecommitdiff
path: root/Housekeeping.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-10-11 15:37:11 +0100
committerDave Hibberd <hibby@debian.org>2024-10-11 15:37:11 +0100
commiteb0d36d3f67be13de74023adb6d30362d47805fe (patch)
treeccf33618ee66710ce3b3a84108d125e15e07b8dc /Housekeeping.c
parent6dfe32758e1a995b1241af8c981798c22cd70439 (diff)
New upstream version 6.0.24.45upstream/6.0.24.45
Diffstat (limited to 'Housekeeping.c')
-rw-r--r--Housekeeping.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Housekeeping.c b/Housekeeping.c
index 8188793..48ff1e7 100644
--- a/Housekeeping.c
+++ b/Housekeeping.c
@@ -343,12 +343,12 @@ VOID ExpireMessages()
Killed = 0;
- PRLimit = now - PR*86400;
- PURLimit = now - PUR*86400;
- PFLimit = now - PF*86400;
- PNFLimit = now - PNF*86400;
- BFLimit = now - BF*86400;
- BNFLimit = now - BNF*86400;
+ PRLimit = now - (time_t)PR*86400;
+ PURLimit = now -(time_t)PUR*86400;
+ PFLimit = now - (time_t)PF*86400;
+ PNFLimit = now - (time_t)PNF*86400;
+ BFLimit = now - (time_t)BF*86400;
+ BNFLimit = now -(time_t) BNF*86400;
if (NTSU == 0)
{
@@ -391,7 +391,7 @@ VOID ExpireMessages()
if (Msg->datecreated < PURLimit)
{
if (SendNonDeliveryMsgs)
- SendNonDeliveryMessage(Msg, TRUE, PUR);
+ SendNonDeliveryMessage(Msg, TRUE, (int)PUR);
KillMsg(Msg);
}
@@ -401,7 +401,7 @@ VOID ExpireMessages()
if (Msg->datecreated < PNFLimit)
{
if (SendNonDeliveryMsgs)
- SendNonDeliveryMessage(Msg, FALSE, PNF);
+ SendNonDeliveryMessage(Msg, FALSE, (int)PNF);
KillMsg(Msg);
}