This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
btpd
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
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
798a7f0c1b
commit
4f1d44297a
1 changed files
with
0 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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:
Write
Preview
Loading…
Cancel
Save