hibernation: Rescan the event list on state change
commitd6903e9e87ffd39846b7cacebcfc8bae71f3ca5f
authorDavid Goulet <dgoulet@torproject.org>
Thu, 26 Apr 2018 19:00:19 +0000 (26 15:00 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 27 Apr 2018 13:28:00 +0000 (27 09:28 -0400)
tree213ebb454298652b5c0bf452754c9da578a5a0d3
parent05d314f888dd96840d92fbcc513974487485f4cb
hibernation: Rescan the event list on state change

When we change the hibernation state, rescan the main loop event list because
the new state might affect the events.

Signed-off-by: David Goulet <dgoulet@torproject.org>
src/or/hibernate.c
src/or/main.c
src/or/main.h