diff options
author | Omar Polo <op@omarpolo.com> | 2023-06-06 08:11:30 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-06-06 08:11:30 +0000 |
commit | 0046c1fe9ca72ed024c8562d51e2b320f7968915 (patch) | |
tree | c8b830705b7060e34484e59738668e449ad60001 /ge.c | |
parent | bb595bff79eda45b10cf0538b93e2ec72c3db495 (diff) |
call setlocale()
Diffstat (limited to 'ge.c')
-rw-r--r-- | ge.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,7 @@ #include <errno.h> #include <fcntl.h> #include <getopt.h> +#include <locale.h> #include <libgen.h> #include <signal.h> #include <string.h> @@ -205,6 +206,8 @@ main(int argc, char **argv) char path[PATH_MAX]; int ch; + setlocale(LC_CTYPE, ""); + logger_init(); conf.port = 1965; conf.protos = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3; |