Skip to content
Snippets Groups Projects
Commit eb519469 authored by Peter Eriksson's avatar Peter Eriksson
Browse files

Some fixes with the setlocale() call.

parent 2cb13152
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment