aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2024-02-27 22:56:19 +0100
committercbdev <cb@cbcdn.com>2024-02-27 22:56:19 +0100
commitc4d1da757fc32e8d05e592f3b60484e2bfbf8d67 (patch)
tree399ae1be7b850e43268a3175ad883e94c2cd3dee /config.c
parentd80b85d2b61225a27fa7b2058f60831d4a73110f (diff)
downloadwebsocksy-master.tar.gz
websocksy-master.tar.bz2
websocksy-master.zip
Remove debug outputHEADmaster
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.c b/config.c
index 6998cc7..c6c8045 100644
--- a/config.c
+++ b/config.c
@@ -25,6 +25,9 @@ static int config_file_line(ws_config* config, char* key, char* value, size_t li
else if(!strcmp(key, "ping")){
config->ping_interval = strtoul(value, NULL, 10);
}
+ else if(!strcmp(key, "verbosity")){
+ config->verbosity = strtoul(value, NULL, 10);
+ }
else if(!strcmp(key, "backend")){
//clean up the previously registered backend
if(config->backend.cleanup){