summaryrefslogtreecommitdiff
path: root/server/dispatch.c
diff options
context:
space:
mode:
authorGravatar Richard Basch <probe@mit.edu>1994-03-15 07:44:22 +0000
committerGravatar Richard Basch <probe@mit.edu>1994-03-15 07:44:22 +0000
commit5e576e3d80f938bb8392be4b1a7320287d718864 (patch)
treedbbd10a6ea16f8e7f0c4621ddb01058f46d979fc /server/dispatch.c
parentcf4a93fc85b3853d83e1487ab75ab71c823ce927 (diff)
Use symbolic name "NOW" rather than t_local
Diffstat (limited to 'server/dispatch.c')
-rw-r--r--server/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/dispatch.c b/server/dispatch.c
index 9757b6a..40dd7d1 100644
--- a/server/dispatch.c
+++ b/server/dispatch.c
@@ -500,7 +500,7 @@ xmit_frag(notice, buf, len, waitforack)
nacked->na_packsz = len;
nacked->na_uid = notice->z_uid;
nacked->q_forw = nacked->q_back = nacked;
- nacked->na_abstimo = t_local.tv_sec + abs_timo;
+ nacked->na_abstimo = NOW + abs_timo;
/* set a timer to retransmit when done */
nacked->na_timer = timer_set_rel(rexmit_secs,
@@ -615,7 +615,7 @@ xmit(notice, dest, auth, client)
nacked->na_packsz = packlen;
nacked->na_uid = notice->z_uid;
nacked->q_forw = nacked->q_back = nacked;
- nacked->na_abstimo = t_local.tv_sec + abs_timo;
+ nacked->na_abstimo = NOW + abs_timo;
/* set a timer to retransmit when done */
nacked->na_timer = timer_set_rel(rexmit_secs,