comparison main.c @ 618:7d1aac6b27af

Disable SOCKS 5 specific code that is not supported yet.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2014 22:54:26 +0300
parents ada20f599490
children a1abf812785f
comparison
equal deleted inserted replaced
617:ada20f599490 618:7d1aac6b27af
238 optProxyPort = atoi(port); 238 optProxyPort = atoi(port);
239 else 239 else
240 optProxyServer = th_strdup(host); 240 optProxyServer = th_strdup(host);
241 241
242 // Check what authentication type to use 242 // Check what authentication type to use
243 /*
243 if (optProxyType == NN_PROXY_SOCKS5 && 244 if (optProxyType == NN_PROXY_SOCKS5 &&
244 optProxyUserID != NULL && optProxyPassword != NULL) 245 optProxyUserID != NULL && optProxyPassword != NULL)
245 optProxyAuthType = NN_PROXY_AUTH_USER; 246 optProxyAuthType = NN_PROXY_AUTH_USER;
246 else 247 else
248 */
247 optProxyAuthType = NN_PROXY_AUTH_NONE; 249 optProxyAuthType = NN_PROXY_AUTH_NONE;
248 250
249 ret = TRUE; 251 ret = TRUE;
250 252
251 out: 253 out: