aboutsummaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-05-22 14:06:39 -0400
committerNick Mathewson <nickm@torproject.org>2009-05-22 14:06:39 -0400
commita3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc (patch)
tree200788a3df638ba209818aabb942e3ae9426890a /src/or/hibernate.c
parent4201a3735f21e257494b8d523ebb19059caf4da3 (diff)
downloadtor-a3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc.tar
tor-a3fadddd4a08d1eeb1f0cf100d3fd6c60f445fcc.tar.gz
Improved bug-957 fix for 0.2.2.
Really, our idiocy was that we were calling event_set() on the same event more than once, which sometimes led to us calling event_set() on an event that was already inserted, thus making it look uninserted. With this patch, we just initialize the timeout events when we create the requests and nameservers, and we don't need to worry about double-add and double-del cases at all.
Diffstat (limited to 'src/or/hibernate.c')
0 files changed, 0 insertions, 0 deletions