diff options
Diffstat (limited to 'nslcd/nslcd.c')
-rw-r--r-- | nslcd/nslcd.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nslcd/nslcd.c b/nslcd/nslcd.c index 1b2ecf7..c0cf90e 100644 --- a/nslcd/nslcd.c +++ b/nslcd/nslcd.c @@ -79,9 +79,6 @@ #define WRITEBUFFER_MINSIZE 1024 #define WRITEBUFFER_MAXSIZE 1 * 1024 * 1024 -/* flag to indicate if we are in debugging mode */ -static int nslcd_debugging = 0; - /* the flag to indicate that a signal was received */ static volatile int nslcd_receivedsignal = 0; @@ -106,7 +103,6 @@ static void display_usage(FILE *fp, const char *program_name) { fprintf(fp, "Usage: %s [OPTION]...\n", program_name); fprintf(fp, "Name Service LDAP connection daemon.\n"); - fprintf(fp, " -d, --debug print debugging to stderr\n"); fprintf(fp, " --help display this help and exit\n"); fprintf(fp, " --version output version information and exit\n"); fprintf(fp, "\n" "Report bugs to <%s>.\n", PACKAGE_BUGREPORT); @@ -129,10 +125,6 @@ static void parse_cmdline(int argc, char *argv[]) { switch (optc) { - case 'd': /* -d, --debug print debugging to stderr */ - nslcd_debugging++; - log_setdefaultloglevel(LOG_DEBUG); - break; case 'h': /* --help display this help and exit */ display_usage(stdout, argv[0]); exit(EXIT_SUCCESS); |