瀏覽代碼

Fix a bug in HT_REMOVE.

svn:r6925
Nick Mathewson 19 年之前
父節點
當前提交
8786b4b88e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/common/ht.h

+ 0 - 1
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)