diff options
Diffstat (limited to 'ldadp.c')
-rw-r--r-- | ldadp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,7 @@ #include "ini.h" #include "helper.h" #include "openssl.h" +#include "helper.h" #include <stdio.h> #include <socket.h> #include <io.h> @@ -118,6 +119,8 @@ static int loadConfig_handler(void *stuff, const char *section, const char *key, certFile = strdup(value); } else if (strcmp(key, "privkey") == 0) { keyFile = strdup(value); + } else if (strcmp(key, "debug") == 0) { + _debugLevel = atoi(value); } else { printf("Unknown local config option '%s'\n", key); } |