Commit 3109fbcc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Fixed included files.

Use string_malloc & friends instead of smalloc in s-string.c.
parent 7caba8dc
......@@ -20,9 +20,10 @@
#include <netinet/in.h>
#include <unistd.h>
#include "std-disclaimer.h"
#include "s-string.h"
#include <kom-types.h>
#include "string-malloc.h"
#include <kom-errno.h>
#include "s-string.h"
#include "internal-services.h"
#include "lyskomd.h"
#include "isc.h"
......@@ -208,7 +209,7 @@ main (int argc,
FILE *stat_file;
extern int number_of_allocated_strings(void); /* From s-string.c */
s_set_storage_management(smalloc, srealloc, sfree);
s_set_storage_management(string_malloc, string_realloc, string_free);
strcpy(ip_client_port, DEFAULT_CLIENT_SERVICE);
strcpy(ip_mux_port, DEFAULT_MUX_SERVICE);
......@@ -279,8 +280,8 @@ main (int argc,
dump_cache_mem_usage(stat_file);
fprintf(stat_file, "---s-string.c:\n\tStrings: %d\n",
number_of_allocated_strings());
dump_string_alloc_counts(stat_file);
dump_allocated_connections(stat_file);
fclose (stat_file);
log("ramkomd terminated normally.\n");
......
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