Procházet zdrojové kódy

Fix a bug in HT_REMOVE.

svn:r6925
Nick Mathewson před 19 roky
rodič
revize
8786b4b88e
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  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)        \
 #define _HT_SET_HASH(elm, field, hashfn)        \
   do {                                          \
   do {                                          \
-    elm->field.hte_next = NULL;                 \
     elm->field.hte_hash = hashfn(elm);          \
     elm->field.hte_hash = hashfn(elm);          \
   } while (0)
   } while (0)