From 76c643313daf7a27a966d1f07be765a490c47153 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 15 Apr 2006 18:04:38 +0200 Subject: [PATCH] kill mallinfo It is not important enough to care about the compatibility issues. --- command.c | 4 ---- 1 file changed, 4 deletions(-) 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, -- 2.39.5