changeset 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 bb2bef026a52
children 0f78ac0c87a7
files nnchat.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Thu Jun 23 11:25:00 2011 +0300
+++ b/nnchat.c	Thu Jun 23 12:53:56 2011 +0300
@@ -1322,8 +1322,8 @@
     th_cfg_add_section(&cfg, "server", tmpcfg);
 
     tmpcfg = NULL;
-    th_cfg_add_comment(&tmpcfg, "Proxy server type (0 = none, 1 = SOCKS 4, 2 = SOCKS 4A");
-    th_cfg_add_int(&tmpcfg, "port", &optProxyType, optProxyType);
+    th_cfg_add_comment(&tmpcfg, "Proxy server type (0 = none, 1 = SOCKS 4, 2 = SOCKS 4a)");
+    th_cfg_add_int(&tmpcfg, "type", &optProxyType, optProxyType);
     th_cfg_add_comment(&tmpcfg, "Proxy server host name");
     th_cfg_add_string(&tmpcfg, "host", &optProxyServer, optProxyServer);
     th_cfg_add_comment(&tmpcfg, "Proxy port, 1080 is the standard SOCKS port");