Commit aa7b9245 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

tmp_alloc(): Don't log the size of the internal table anymore.

parent 6be284e6
Mon May 25 22:56:38 1992 Per Cederqvist (ceder@lysator)
* ram-smalloc.c (tmp_alloc): Don't log the size of the internal
table anymore.
* version.incl: Version 1.2.1 (not released).
* server-config.c (TIMEOUT): Increased from 100 ms to 5 seconds.
......
/*
* $Id: ram-smalloc.c,v 0.7 1991/09/21 12:19:24 ceder Exp $
* $Id: ram-smalloc.c,v 0.8 1992/05/25 21:43:26 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -37,7 +37,7 @@
*/
/* #define DEBUG_MALLOC */
static char *rcsid = "$Id: ram-smalloc.c,v 0.7 1991/09/21 12:19:24 ceder Exp $";
static char *rcsid = "$Id: ram-smalloc.c,v 0.8 1992/05/25 21:43:26 ceder Exp $";
#include <stdio.h>
......@@ -214,10 +214,8 @@ tmp_alloc(u_long size)
tmp_alloc_table = srealloc (tmp_alloc_table,
((++tmp_alloc_table_size)
* sizeof (void *)));
log("tmp_alloc: internal table size now %d elements.\n",
tmp_alloc_table_size);
}
return (tmp_alloc_table[ tmp_alloc_table_use++ ]
= smalloc (size));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment