Extract main part of main loop into a separate function

For 15176; Shadow would like this.

Based on a patch by Rob Jansen, but revised to have a minimal-sized diff.
This commit is contained in:
Nick Mathewson
2015-03-14 14:24:18 -04:00
parent eb68ea20f8
commit b78803f9f5
2 changed files with 23 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
o Code simplification and refactoring:
- Refactor main loop to extract the 'loop' part. This makes it easier
to run Tor under Shadow. Closes ticket 15176.