comparison main.c @ 593:00f476c65e1b

Remove port descriptions from configuration.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 29 Sep 2013 22:09:02 +0300
parents 27a6b7c2caad
children 463210f14158
comparison
equal deleted inserted replaced
592:27a6b7c2caad 593:00f476c65e1b
1853 1853
1854 1854
1855 tmpcfg = NULL; 1855 tmpcfg = NULL;
1856 th_cfg_add_comment(&tmpcfg, "Chat server hostname or IP address"); 1856 th_cfg_add_comment(&tmpcfg, "Chat server hostname or IP address");
1857 th_cfg_add_string(&tmpcfg, "host", &optServer, optServer); 1857 th_cfg_add_string(&tmpcfg, "host", &optServer, optServer);
1858 th_cfg_add_comment(&tmpcfg, "Default port to connect to (8005 = main room, 8003 = passion pit)"); 1858
1859 th_cfg_add_comment(&tmpcfg, "Default port to connect");
1859 th_cfg_add_int(&tmpcfg, "port", &optPort, optPort); 1860 th_cfg_add_int(&tmpcfg, "port", &optPort, optPort);
1860 th_cfg_add_section(&cfg, "server", tmpcfg); 1861 th_cfg_add_section(&cfg, "server", tmpcfg);
1861 1862
1862 tmpcfg = NULL; 1863 tmpcfg = NULL;
1863 th_cfg_add_comment(&tmpcfg, "Proxy server type (0 = none, 1 = SOCKS 4, 2 = SOCKS 4a)"); 1864 th_cfg_add_comment(&tmpcfg, "Proxy server type (0 = none, 1 = SOCKS 4, 2 = SOCKS 4a)");