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

Added setlocale() call to set ISO 8859-1 mode for LC_CTYPE (is* macros)

parent a3ac0335
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,7 @@
#include <ctype.h>
#include <netdb.h>
#include <string.h>
#include <locale.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <netinet/in.h>
......@@ -211,6 +212,8 @@ main (int argc,
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.
Please register or to comment