summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-10 14:49:41 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-10 14:49:41 +0000
commit866b6f5cec9147865b6d9546c77ec1a3d60f0dbc (patch)
tree78c7f54f0b180486f740102a77df4748e6c0b692
parentb274ea202e0365d58536f8e350ae96669903b28c (diff)
downloadtor-866b6f5cec9147865b6d9546c77ec1a3d60f0dbc.tar.gz
tor-866b6f5cec9147865b6d9546c77ec1a3d60f0dbc.zip
Backport r18064: fix harmless-to-us bug in ht.h
svn:r18067
-rw-r--r--src/common/ht.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/ht.h b/src/common/ht.h
index 762f836bd3..0aefc6dc0b 100644
--- a/src/common/ht.h
+++ b/src/common/ht.h
@@ -420,6 +420,7 @@ ht_string_hash(const char *s)
#define _HT_FOI_INSERT(field, head, elm, newent, var) \
{ \
newent->field.hte_hash = (elm)->field.hte_hash; \
+ newent->field.hte_next = NULL; \
*var = newent; \
++((head)->hth_n_entries); \
}