diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-27 16:56:32 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-27 16:56:32 +0000 |
commit | 83825b48831130609a60410bf65a05829c30b181 (patch) | |
tree | 179f62f6d4c8fd46d59063a2b6ead0617d02e7eb | |
parent | da74dbd35eea3992f113b6e147d3bd19bcf93a8b (diff) | |
download | tor-83825b48831130609a60410bf65a05829c30b181.tar.gz tor-83825b48831130609a60410bf65a05829c30b181.zip |
r19099@catbus: nickm | 2008-03-27 12:52:19 -0400
Backport adding an initializer for policy_root.
svn:r14217
-rw-r--r-- | src/or/policies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index a3af3c9522..eea7dd9b3d 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -446,7 +446,7 @@ typedef struct policy_map_ent_t { addr_policy_t *policy; } policy_map_ent_t; -static HT_HEAD(policy_map, policy_map_ent_t) policy_root; +static HT_HEAD(policy_map, policy_map_ent_t) policy_root = HT_INITIALIZER(); /** Return true iff a and b are equal. */ static INLINE int |