Browse Source

Don't really know why I did setlocale. Get rid of it since I want the CTYPE

to be standard.
master
Richard Nyberg 18 years ago
parent
commit
4f1d44297a
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      btpd/main.c

+ 0
- 3
btpd/main.c View File

@@ -7,7 +7,6 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <getopt.h> #include <getopt.h>
#include <locale.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
@@ -158,8 +157,6 @@ main(int argc, char **argv)
char *dir = NULL, *log = NULL; char *dir = NULL, *log = NULL;
int daemonize = 1; int daemonize = 1;


setlocale(LC_ALL, "");

for (;;) { for (;;) {
switch (getopt_long(argc, argv, "d:p:", longopts, NULL)) { switch (getopt_long(argc, argv, "d:p:", longopts, NULL)) {
case -1: case -1:


Loading…
Cancel
Save