[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r6925: Fix a bug in HT_REMOVE. (tor/trunk/src/common)



Author: nickm
Date: 2006-07-27 14:35:25 -0400 (Thu, 27 Jul 2006)
New Revision: 6925

Modified:
   tor/trunk/src/common/ht.h
Log:
Fix a bug in HT_REMOVE.

Modified: tor/trunk/src/common/ht.h
===================================================================
--- tor/trunk/src/common/ht.h	2006-07-27 17:37:37 UTC (rev 6924)
+++ tor/trunk/src/common/ht.h	2006-07-27 18:35:25 UTC (rev 6925)
@@ -88,7 +88,6 @@
 
 #define _HT_SET_HASH(elm, field, hashfn)        \
   do {                                          \
-    elm->field.hte_next = NULL;                 \
     elm->field.hte_hash = hashfn(elm);          \
   } while (0)