aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-08-20 22:31:39 +0000
committerPeter Palfrader <peter@palfrader.org>2007-08-20 22:31:39 +0000
commit6802923fa7e6ec2adb8bd7b94fa0c232b0549287 (patch)
treecf247b252e780c086e07f1bdebe8a4309b0c5312 /src
parent8aceafc0c882f9678c223e233b8c8d455f24c525 (diff)
downloadtor-6802923fa7e6ec2adb8bd7b94fa0c232b0549287.tar
tor-6802923fa7e6ec2adb8bd7b94fa0c232b0549287.tar.gz
call it EXPORTMALLINFO, not EXPORTMEMINFO
svn:r11235
Diffstat (limited to 'src')
-rw-r--r--src/or/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index da09109de..f6a2c666f 100644
--- a/src/or/directory.c
+++ b/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)); \