This fixes a bug introduced in revision 1.8 of timer.c that causes
evtimer_set() to be called on an already active event, which is an error
according to event_add(3):
>The event in the ev argument must be already initialized by event_set()
>and may not be used in calls to event_set() until it has
This fixes a bug that allows others to write to remote users pseudo
terminals. Looking at the revision 1.29 commit message and thread[2]
that led to this bug I'm pretty sure that it wasn't intended to be this
way.
[1] https://marc.info/?t=14091389379&r=1&w=2
Index: sshpty.c
===