summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-07-28 02:17:45 +0000
committerNick Mathewson <nickm@torproject.org>2006-07-28 02:17:45 +0000
commit41e2716f4603a078d37331cddc3ae5740c648acd (patch)
tree6dbdd2294f11c66cccd80f108f47f9ef9b9d0ab5
parent727faf5c157ddb3abb972bfe187d9c8739b696f7 (diff)
downloadtor-41e2716f4603a078d37331cddc3ae5740c648acd.tar.gz
tor-41e2716f4603a078d37331cddc3ae5740c648acd.zip
Backport fix in r6925: correctness fix when removing an existing element from a hashtable using a pointer to that element.
svn:r6930
-rw-r--r--src/common/ht.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/ht.h b/src/common/ht.h
index 81ff5cb630..dd90f2e4fd 100644
--- a/src/common/ht.h
+++ b/src/common/ht.h
@@ -88,7 +88,6 @@ ht_string_hash(const char *s)
#define _HT_SET_HASH(elm, field, hashfn) \
do { \
- elm->field.hte_next = NULL; \
elm->field.hte_hash = hashfn(elm); \
} while (0)