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

[or-cvs] r6930: Backport fix in r6925: correctness fix when removing an exis (tor/branches/tor-0_1_1-patches/src/common)



Author: nickm
Date: 2006-07-27 22:17:45 -0400 (Thu, 27 Jul 2006)
New Revision: 6930

Modified:
   tor/branches/tor-0_1_1-patches/src/common/ht.h
Log:
Backport fix in r6925: correctness fix when removing an existing element from a hashtable using a pointer to that element.

Modified: tor/branches/tor-0_1_1-patches/src/common/ht.h
===================================================================
--- tor/branches/tor-0_1_1-patches/src/common/ht.h	2006-07-27 20:24:53 UTC (rev 6929)
+++ tor/branches/tor-0_1_1-patches/src/common/ht.h	2006-07-28 02:17:45 UTC (rev 6930)
@@ -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)