[or-cvs] r10565: Fix some dumb copypasta in r10562. (in tor/trunk: . src/common)

nickm at seul.org nickm at seul.org
Mon Jun 11 22:46:35 UTC 2007


Author: nickm
Date: 2007-06-11 18:46:35 -0400 (Mon, 11 Jun 2007)
New Revision: 10565

Modified:
   tor/trunk/
   tor/trunk/src/common/container.h
Log:
 r13358 at catbus:  nickm | 2007-06-11 18:46:24 -0400
 Fix some dumb copypasta in r10562.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r13358] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/common/container.h
===================================================================
--- tor/trunk/src/common/container.h	2007-06-11 22:32:30 UTC (rev 10564)
+++ tor/trunk/src/common/container.h	2007-06-11 22:46:35 UTC (rev 10565)
@@ -222,7 +222,7 @@
   }                                                                     \
   static INLINE valtype* prefix##remove(maptype *map, const char *key)  \
   {                                                                     \
-    return (valtype*)digestmap_get((digestmap_t*)map, key);             \
+    return (valtype*)digestmap_remove((digestmap_t*)map, key);          \
   }                                                                     \
   static INLINE void prefix##free(maptype *map, void (*free_val)(void*)) \
   {                                                                     \



More information about the tor-commits mailing list