Mercurial > hg > nnchat
comparison nnchat.c @ 321:384d508d1df3
Update configuration file comment about room ports.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jun 2011 07:39:23 +0300 |
parents | 42ddc8bda6a9 |
children | b9c15c57dc8f |
comparison
equal
deleted
inserted
replaced
320:42ddc8bda6a9 | 321:384d508d1df3 |
---|---|
1277 | 1277 |
1278 | 1278 |
1279 tmpcfg = NULL; | 1279 tmpcfg = NULL; |
1280 th_cfg_add_comment(&tmpcfg, "Chat server hostname or IP address"); | 1280 th_cfg_add_comment(&tmpcfg, "Chat server hostname or IP address"); |
1281 th_cfg_add_string(&tmpcfg, "host", &optServer, optServer); | 1281 th_cfg_add_string(&tmpcfg, "host", &optServer, optServer); |
1282 th_cfg_add_comment(&tmpcfg, "Default port to connect to (8002 = public room, 8003 = passion pit, 8005 = members only)"); | 1282 th_cfg_add_comment(&tmpcfg, "Default port to connect to (8005 = main room, 8003 = passion pit)"); |
1283 th_cfg_add_int(&tmpcfg, "port", &optPort, optPort); | 1283 th_cfg_add_int(&tmpcfg, "port", &optPort, optPort); |
1284 th_cfg_add_section(&cfg, "server", tmpcfg); | 1284 th_cfg_add_section(&cfg, "server", tmpcfg); |
1285 | 1285 |
1286 tmpcfg = NULL; | 1286 tmpcfg = NULL; |
1287 th_cfg_add_comment(&tmpcfg, "Enable logging"); | 1287 th_cfg_add_comment(&tmpcfg, "Enable logging"); |