Clean up a bit of C logic, and fix an erroneous warning.
commitd66c3797650698778bd098bbaf9d3bbeebfa9fcf
authorNick Mathewson <nickm@torproject.org>
Sat, 30 May 2009 03:28:01 +0000 (29 23:28 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 30 May 2009 03:28:01 +0000 (29 23:28 -0400)
tree603d556a97a3a8693c9f48e8f5fd9a1b1640ecc8
parente70fe116d3726401e0205e115294208a948a292e
Clean up a bit of C logic, and fix an erroneous warning.

(Simplify "if (cond) return 1; return 0;" to "return cond;", and don't
give a warning when we start with accounting on but dirport off.)
src/or/config.c