[or-cvs] r16559: {tor} Make trunk build again under -DEXPORTMALLINFO (tor/trunk/src/or)

weasel at seul.org weasel at seul.org
Fri Aug 15 14:03:37 UTC 2008


Author: weasel
Date: 2008-08-15 10:03:37 -0400 (Fri, 15 Aug 2008)
New Revision: 16559

Modified:
   tor/trunk/src/or/directory.c
Log:
Make trunk build again under -DEXPORTMALLINFO

Modified: tor/trunk/src/or/directory.c
===================================================================
--- tor/trunk/src/or/directory.c	2008-08-15 13:55:01 UTC (rev 16558)
+++ tor/trunk/src/or/directory.c	2008-08-15 14:03:37 UTC (rev 16559)
@@ -2939,7 +2939,7 @@
   }while(0);
 
   if (!strcmp(url,"/tor/mallinfo.txt") &&
-      (conn->_base.addr == 0x7f000001ul)) {
+      (tor_addr_eq_ipv4h(&conn->_base.addr, 0x7f000001ul))) {
     char *result;
     size_t len;
     struct mallinfo mi;



More information about the tor-commits mailing list