summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-21 21:48:37 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-21 21:48:37 +0000
commitd273d529798e44c315c94437f27c3a1349794179 (patch)
tree143f842f8d594090ddfc31e901fcbbbc4b1e7504 /src
parente4a9b4de4ec0573721b5e0e0969c9ea2f9e70baf (diff)
downloadtor-d273d529798e44c315c94437f27c3a1349794179.tar.gz
tor-d273d529798e44c315c94437f27c3a1349794179.zip
r8876@Kushana: nickm | 2006-09-21 16:58:46 -0400
Trivial cleanup: !!x is a weird way to spell x != NULL. svn:r8441
Diffstat (limited to 'src')
-rw-r--r--src/or/policies.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c
index 2cad5777ed..bee8324ea4 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -128,7 +128,7 @@ parse_reachable_addresses(void)
int
firewall_is_fascist_or(void)
{
- return !!reachable_or_addr_policy;
+ return reachable_or_addr_policy != NULL;
}
/** Return true iff <b>policy</b> (possibly NULL) will allow a