[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)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r6930: Backport fix in r6925: correctness fix when removing an exis (tor/branches/tor-0_1_1-patches/src/common)
- From: nickm@xxxxxxxx
- Date: Thu, 27 Jul 2006 22:17:45 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Thu, 27 Jul 2006 22:17:53 -0400
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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)