diff options
author | cbdev <cb@cbcdn.com> | 2024-02-27 22:56:19 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2024-02-27 22:56:19 +0100 |
commit | c4d1da757fc32e8d05e592f3b60484e2bfbf8d67 (patch) | |
tree | 399ae1be7b850e43268a3175ad883e94c2cd3dee /config.c | |
parent | d80b85d2b61225a27fa7b2058f60831d4a73110f (diff) | |
download | websocksy-master.tar.gz websocksy-master.tar.bz2 websocksy-master.zip |
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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){ |