Mercurial > hg > nnchat
comparison nnchat.c @ 369:461a6befb7c3
Oops, the proxy type was accidentally called "port" in the configuration file, as was the actual port setting. Fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 23 Jun 2011 12:53:56 +0300 |
parents | b465a17ffa47 |
children | b9f0bdad6285 |
comparison
equal
deleted
inserted
replaced
368:bb2bef026a52 | 369:461a6befb7c3 |
---|---|
1320 th_cfg_add_comment(&tmpcfg, "Default port to connect to (8005 = main room, 8003 = passion pit)"); | 1320 th_cfg_add_comment(&tmpcfg, "Default port to connect to (8005 = main room, 8003 = passion pit)"); |
1321 th_cfg_add_int(&tmpcfg, "port", &optPort, optPort); | 1321 th_cfg_add_int(&tmpcfg, "port", &optPort, optPort); |
1322 th_cfg_add_section(&cfg, "server", tmpcfg); | 1322 th_cfg_add_section(&cfg, "server", tmpcfg); |
1323 | 1323 |
1324 tmpcfg = NULL; | 1324 tmpcfg = NULL; |
1325 th_cfg_add_comment(&tmpcfg, "Proxy server type (0 = none, 1 = SOCKS 4, 2 = SOCKS 4A"); | 1325 th_cfg_add_comment(&tmpcfg, "Proxy server type (0 = none, 1 = SOCKS 4, 2 = SOCKS 4a)"); |
1326 th_cfg_add_int(&tmpcfg, "port", &optProxyType, optProxyType); | 1326 th_cfg_add_int(&tmpcfg, "type", &optProxyType, optProxyType); |
1327 th_cfg_add_comment(&tmpcfg, "Proxy server host name"); | 1327 th_cfg_add_comment(&tmpcfg, "Proxy server host name"); |
1328 th_cfg_add_string(&tmpcfg, "host", &optProxyServer, optProxyServer); | 1328 th_cfg_add_string(&tmpcfg, "host", &optProxyServer, optProxyServer); |
1329 th_cfg_add_comment(&tmpcfg, "Proxy port, 1080 is the standard SOCKS port"); | 1329 th_cfg_add_comment(&tmpcfg, "Proxy port, 1080 is the standard SOCKS port"); |
1330 th_cfg_add_int(&tmpcfg, "port", &optProxyPort, optProxyPort); | 1330 th_cfg_add_int(&tmpcfg, "port", &optProxyPort, optProxyPort); |
1331 th_cfg_add_section(&cfg, "proxy", tmpcfg); | 1331 th_cfg_add_section(&cfg, "proxy", tmpcfg); |