projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94969ce
)
-fixbuild
author
Christian Grothoff
<christian@grothoff.org>
Sun, 15 Jul 2012 15:59:55 +0000
(15:59 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 15 Jul 2012 15:59:55 +0000
(15:59 +0000)
src/util/service.c
patch
|
blob
|
history
diff --git
a/src/util/service.c
b/src/util/service.c
index cb2644d743c70bdb34eade10b32db1ae97431e92..af0d0769aa2d6bd3c46b56469d16160cc5ed9a33 100644
(file)
--- a/
src/util/service.c
+++ b/
src/util/service.c
@@
-37,6
+37,7
@@
#include "gnunet_service_lib.h"
#if HAVE_MALLINFO
+#include <malloc.h>
#include "gauger.h"
#endif
@@
-1939,7
+1940,7
@@
GNUNET_SERVICE_stop (struct GNUNET_SERVICE_Context *sctx)
struct mallinfo mi;
mi = mallinfo ();
- GAUGER (service_name, counter, mi.usmblks, "blocks");
+ GAUGER (s
ctx->s
ervice_name, counter, mi.usmblks, "blocks");
GNUNET_free (counter);
}
}