Commit [39afe3] Maximize Restore History

Sync OpenBSD patchset 388:

Set the current window pointer to NULL when killing a winlink that is to be
replaced with link-window -k. This prevents it being pushed onto the last
window stack and causing a use-after-free.

Only took me an hour to find this :-/...

Tiago Cunha Tiago Cunha 2009-10-12

changed server-fn.c
server-fn.c Diff Switch to side-by-side view