Mercurial > hg > nnchat
comparison main.c @ 590:2a6b512ee5a1
Proxy port commandline option was not working correctly (set wrong variable), fixed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 29 Sep 2013 22:07:28 +0300 |
parents | 573a3ad30938 |
children | 27a6b7c2caad |
comparison
equal
deleted
inserted
replaced
589:cdb348e051b5 | 590:2a6b512ee5a1 |
---|---|
173 optProxyServer = optArg; | 173 optProxyServer = optArg; |
174 optProxyType = NN_PROXY_SOCKS4A; | 174 optProxyType = NN_PROXY_SOCKS4A; |
175 break; | 175 break; |
176 | 176 |
177 case 12: | 177 case 12: |
178 optPort = atoi(optArg); | 178 optProxyPort = atoi(optArg); |
179 break; | 179 break; |
180 | 180 |
181 | 181 |
182 default: | 182 default: |
183 THERR("Unknown option '%s'.\n", currArg); | 183 THERR("Unknown option '%s'.\n", currArg); |