diff --git a/ChangeLog b/ChangeLog index 6151a19..bb148aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,8 +3,11 @@ - Better "!stats"; can display peak and current bandwidth usage. - Added "+myip" command. - Ensure super users and hub owners also have the operator flag set. -- Bug #1: Better dynamic send queue handling for large hubs at the cost of more memory use. +- Bug #1: Disconnecting users due to excessive "send queue". - Bug #5: Always provide IP-address to all users, not just for active clients. +- Better send queue priorities. +- Dump configuration does not quote integer and boolean settings. +- Minor optimizations. 0.2.5-3487: diff --git a/src/config.c b/src/config.c index 8e61ff8..cc28bb9 100644 --- a/src/config.c +++ b/src/config.c @@ -366,20 +366,20 @@ void free_config(struct hub_config* config) if (ignore_defaults) \ { \ if (config->NAME != DEFAULT) \ - fprintf(stdout, "%s = \"%d\"\n", #NAME , config->NAME); \ + fprintf(stdout, "%s = %d\n", #NAME , config->NAME); \ } \ else \ - fprintf(stdout, "%s = \"%d\"\n", #NAME , config->NAME); \ + fprintf(stdout, "%s = %d\n", #NAME , config->NAME); \ #define DUMP_BOOL(NAME, DEFAULT) \ if (ignore_defaults) \ { \ if (config->NAME != DEFAULT) \ - fprintf(stdout, "%s = \"%s\"\n", #NAME , (config->NAME ? "yes" : "no")); \ + fprintf(stdout, "%s = %s\n", #NAME , (config->NAME ? "yes" : "no")); \ } \ else \ - fprintf(stdout, "%s = \"%s\"\n", #NAME , (config->NAME ? "yes" : "no")); + fprintf(stdout, "%s = %s\n", #NAME , (config->NAME ? "yes" : "no")); void dump_config(struct hub_config* config, int ignore_defaults) {