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

[or-cvs] r18067: {tor} Backport r18064: fix harmless-to-us bug in ht.h (tor/branches/tor-0_2_0-patches/src/common)



Author: nickm
Date: 2009-01-10 09:49:41 -0500 (Sat, 10 Jan 2009)
New Revision: 18067

Modified:
   tor/branches/tor-0_2_0-patches/src/common/ht.h
Log:
Backport r18064: fix harmless-to-us bug in ht.h

Modified: tor/branches/tor-0_2_0-patches/src/common/ht.h
===================================================================
--- tor/branches/tor-0_2_0-patches/src/common/ht.h	2009-01-10 14:49:38 UTC (rev 18066)
+++ tor/branches/tor-0_2_0-patches/src/common/ht.h	2009-01-10 14:49:41 UTC (rev 18067)
@@ -420,6 +420,7 @@
 #define _HT_FOI_INSERT(field, head, elm, newent, var)       \
   {                                                         \
     newent->field.hte_hash = (elm)->field.hte_hash;         \
+    newent->field.hte_next = NULL;                          \
     *var = newent;                                          \
     ++((head)->hth_n_entries);                              \
   }