commit | a51dcdc430150b688d56ec35e8c96ce6f978f68b | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Dec 20 00:03:55 2010 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Mon Dec 20 00:03:55 2010 +0000 |
tree | f006980fa330e0dd844d56d142a80993ef60ac3e | |
parent | c65d4220f019b8022ae0192d4a9014be5cc08f40 [diff] |
Unify the way sessions are used by callbacks - store the address and use the reference count, then check it is still on the global sessions list in the callback.