chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/{keyexch.c,keyset.c}: Eliminate `ks_tregen'.
[tripe]
/
server
/
keyexch.c
diff --git
a/server/keyexch.c
b/server/keyexch.c
index 65dd037f476bda72d2b2410c6ad14876244e8181..cd6eae5263677c00aaf0c6ce56d2b55d3fa8df4b 100644
(file)
--- a/
server/keyexch.c
+++ b/
server/keyexch.c
@@
-913,7
+913,7
@@
static void kxfinish(keyexch *kx)
{
kxchal *kxc = kx->r[0];
ks_activate(kxc->ks);
{
kxchal *kxc = kx->r[0];
ks_activate(kxc->ks);
- settimer(kx,
ks_tregen(kxc->ks)
);
+ settimer(kx,
time(0) + T_REGEN
);
kx->s = KXS_SWITCH;
a_notify("KXDONE", "?PEER", kx->p, A_END);
p_stats(kx->p)->t_kx = time(0);
kx->s = KXS_SWITCH;
a_notify("KXDONE", "?PEER", kx->p, A_END);
p_stats(kx->p)->t_kx = time(0);