From: Andre Date: Sat, 15 Apr 2006 16:04:38 +0000 (+0200) Subject: kill mallinfo X-Git-Tag: v0.2.12~94 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=76c643313daf7a27a966d1f07be765a490c47153 kill mallinfo It is not important enough to care about the compatibility issues. --- diff --git a/command.c b/command.c index 1f94bbc2..48c34031 100644 --- a/command.c +++ b/command.c @@ -18,7 +18,6 @@ /** \file command.c does client authentication and executes server commands */ -#include /* mallinfo */ #include /* gettimeofday */ #include "crypt.h" #include "server.cmdline.h" @@ -559,7 +558,6 @@ static int com_si(int fd, int argc, __a_unused char **argv) int i, ret; char *ut; char *selector_string = NULL, *sender_info = NULL, *sender_list = NULL; - struct mallinfo mi = mallinfo(); if (argc != 1) return -E_COMMAND_SYNTAX; @@ -578,7 +576,6 @@ static int com_si(int fd, int argc, __a_unused char **argv) ut = uptime_str(); ret = send_va_buffer(fd, "up: %s\nplayed: %u\n" "pid: %d\n" - "mallinfo: %d\n" "connections (active/accepted/total): %u/%u/%u\n" "current loglevel: %i\n" "supported audio file selectors: %s\n" @@ -587,7 +584,6 @@ static int com_si(int fd, int argc, __a_unused char **argv) "%s", ut, mmd->num_played, getppid(), - mi.arena / 1024, mmd->active_connections, mmd->num_commands, mmd->num_connects,