[or-cvs] r12998: Fix compilation with dmalloc (in tor/trunk: . src/common)

nickm at seul.org nickm at seul.org
Fri Dec 28 06:54:46 UTC 2007


Author: nickm
Date: 2007-12-28 01:54:46 -0500 (Fri, 28 Dec 2007)
New Revision: 12998

Modified:
   tor/trunk/
   tor/trunk/src/common/util.c
Log:
 r17423 at catbus:  nickm | 2007-12-28 01:54:42 -0500
 Fix compilation with dmalloc



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

Modified: tor/trunk/src/common/util.c
===================================================================
--- tor/trunk/src/common/util.c	2007-12-27 23:17:41 UTC (rev 12997)
+++ tor/trunk/src/common/util.c	2007-12-28 06:54:46 UTC (rev 12998)
@@ -239,7 +239,7 @@
   *sizep = malloc_usable_size(result);
   return result;
 #else
-  return _tor_malloc(*sizep);
+  return _tor_malloc(*sizep DMALLOC_FN_ARGS);
 #endif
 #endif
 }



More information about the tor-commits mailing list