diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-10-26 17:21:39 +0000 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2006-10-26 17:21:39 +0000 |
| commit | 4f1d44297aa7605656db0c51955cf2968c91ac19 (patch) | |
| tree | fdac62bdb2b2ffa0817dcd0975a40c7125a874da | |
| parent | 798a7f0c1b137e643e3e8d26a46369a9adbf8954 (diff) | |
| download | btpd-4f1d44297aa7605656db0c51955cf2968c91ac19.tar.gz btpd-4f1d44297aa7605656db0c51955cf2968c91ac19.zip | |
Don't really know why I did setlocale. Get rid of it since I want the CTYPE
to be standard.
| -rw-r--r-- | btpd/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/btpd/main.c b/btpd/main.c index f5c88e2..cabe0d2 100644 --- a/btpd/main.c +++ b/btpd/main.c @@ -7,7 +7,6 @@ #include <errno.h> #include <fcntl.h> #include <getopt.h> -#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -158,8 +157,6 @@ main(int argc, char **argv) char *dir = NULL, *log = NULL; int daemonize = 1; - setlocale(LC_ALL, ""); - for (;;) { switch (getopt_long(argc, argv, "d:p:", longopts, NULL)) { case -1: |