Browse Source

call it EXPORTMALLINFO, not EXPORTMEMINFO

svn:r11235
Peter Palfrader 18 years ago
parent
commit
6802923fa7
2 changed files with 3 additions and 3 deletions
  1. 1 1
      ChangeLog
  2. 2 2
      src/or/directory.c

+ 1 - 1
ChangeLog

@@ -16,7 +16,7 @@ Changes in version 0.2.0.6-alpha - 2007-??-??
       a descriptor immediately, e.g. because they don't know their
       address.
   o Minor features (misc):
-    - Optionally (if built with -DEXPORTMEMINFO) export the output
+    - Optionally (if built with -DEXPORTMALLINFO) export the output
       of mallinfo via http, as tor/mallinfo.txt.  Only accessible
       from localhost.
 

+ 2 - 2
src/or/directory.c

@@ -6,7 +6,7 @@ const char directory_c_id[] =
   "$Id$";
 
 #include "or.h"
-#if defined(EXPORTMEMINFO) && defined(HAVE_MALLOC_H) && defined(HAVE_MALLINFO)
+#if defined(EXPORTMALLINFO) && defined(HAVE_MALLOC_H) && defined(HAVE_MALLINFO)
 #include <malloc.h>
 #endif
 
@@ -2196,7 +2196,7 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
     goto done;
   }
 
-#if defined(EXPORTMEMINFO) && defined(HAVE_MALLOC_H) && defined(HAVE_MALLINFO)
+#if defined(EXPORTMALLINFO) && defined(HAVE_MALLOC_H) && defined(HAVE_MALLINFO)
 #define ADD_MALLINFO_LINE(x) do {                               \
     tor_snprintf(tmp, sizeof(tmp), "%s %d\n", #x, mi.x);        \
     smartlist_add(lines, tor_strdup(tmp));                      \