Explorar o código

Fix a bug in HT_REMOVE.

svn:r6925
Nick Mathewson %!s(int64=19) %!d(string=hai) anos
pai
achega
8786b4b88e
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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)