diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-07-15 15:59:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-07-15 15:59:55 +0000 |
commit | 2f3daa52becc3439f9f58dff10b1a2ed95a352db (patch) | |
tree | 4ce3b71a99079de96ea82451d6555970fc652320 /src/util/service.c | |
parent | 94969ce463b89837b4c6b8ce3b8160e43a0097ee (diff) | |
download | gnunet-2f3daa52becc3439f9f58dff10b1a2ed95a352db.tar.gz gnunet-2f3daa52becc3439f9f58dff10b1a2ed95a352db.zip |
-fixbuild
Diffstat (limited to 'src/util/service.c')
-rw-r--r-- | src/util/service.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/service.c b/src/util/service.c index cb2644d74..af0d0769a 100644 --- a/src/util/service.c +++ b/src/util/service.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "gnunet_service_lib.h" | 37 | #include "gnunet_service_lib.h" |
38 | 38 | ||
39 | #if HAVE_MALLINFO | 39 | #if HAVE_MALLINFO |
40 | #include <malloc.h> | ||
40 | #include "gauger.h" | 41 | #include "gauger.h" |
41 | #endif | 42 | #endif |
42 | 43 | ||
@@ -1939,7 +1940,7 @@ GNUNET_SERVICE_stop (struct GNUNET_SERVICE_Context *sctx) | |||
1939 | struct mallinfo mi; | 1940 | struct mallinfo mi; |
1940 | 1941 | ||
1941 | mi = mallinfo (); | 1942 | mi = mallinfo (); |
1942 | GAUGER (service_name, counter, mi.usmblks, "blocks"); | 1943 | GAUGER (sctx->service_name, counter, mi.usmblks, "blocks"); |
1943 | GNUNET_free (counter); | 1944 | GNUNET_free (counter); |
1944 | } | 1945 | } |
1945 | } | 1946 | } |