# HG changeset patch # User Matti Hamalainen # Date 1582971833 -7200 # Node ID 4426bbf3264b26c1537e4fe64c547b905bbff5de # Parent cc4478e5a8c38b7b9c02ae8fdee4ea012fbc45fa Remove silly. diff -r cc4478e5a8c3 -r 4426bbf3264b main.c --- a/main.c Sat Feb 29 12:23:08 2020 +0200 +++ b/main.c Sat Feb 29 12:23:53 2020 +0200 @@ -123,7 +123,7 @@ */ static const th_optarg optList[] = { - { 0, '?', "help", "Show this help and be so very much verbose that it almost hurts you", OPT_NONE }, + { 0, '?', "help", "Show this help", OPT_NONE }, { 1, 'v', "verbose", "Be more verbose", OPT_NONE }, { 2, 'p', "port", "Connect to port", OPT_ARGREQ }, { 3, 's', "server", "Server to connect to", OPT_ARGREQ }, @@ -142,7 +142,6 @@ void argShowHelp(void) { - int i; th_print_banner(stdout, th_prog_name, "[options] "); th_args_help(stdout, optList, optListN, 0, 80 - 2); @@ -164,7 +163,7 @@ "Supported rooms (for option '-r'):\n", SET_PROXY_PORT); - for (i = 0; i < nn_room_data_n; i++) + for (int i = 0; i < nn_room_data_n; i++) { const nn_room_data_t *rdata = &nn_room_data[i];