about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2006-10-26 17:21:39 +0000
committerRichard Nyberg <rnyberg@murmeldjur.se>2006-10-26 17:21:39 +0000
commit4f1d44297aa7605656db0c51955cf2968c91ac19 (patch)
treefdac62bdb2b2ffa0817dcd0975a40c7125a874da
parent798a7f0c1b137e643e3e8d26a46369a9adbf8954 (diff)
downloadbtpd-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.c3
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: