Commit eb519469 authored by Peter Eriksson's avatar Peter Eriksson
Browse files

Some fixes with the setlocale() call.

parent 2cb13152
......@@ -210,9 +210,14 @@ main (int argc,
FILE *stat_file;
extern int number_of_allocated_strings(void); /* From s-string.c */
if (setlocale(LC_CTYPE, "iso_8859_1") == NULL)
{
perror("setlocale");
exit(1);
}
s_set_storage_management(string_malloc, string_realloc, string_free);
setlocale(LC_CTYPE, "iso_8859_1");
strcpy(ip_client_port, DEFAULT_CLIENT_SERVICE);
strcpy(ip_mux_port, DEFAULT_MUX_SERVICE);
......
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