mirror of https://github.com/OpenVPN/openvpn-gui
fix proxy command line if config is used
parent
54d74f5861
commit
c697eed849
2
proxy.c
2
proxy.c
|
@ -383,6 +383,8 @@ ProxyAuthDialogFunc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
*/
|
*/
|
||||||
void ConstructProxyCmdLine(TCHAR *proxy_string, unsigned int size)
|
void ConstructProxyCmdLine(TCHAR *proxy_string, unsigned int size)
|
||||||
{
|
{
|
||||||
|
proxy_string[0] = _T('\0');
|
||||||
|
|
||||||
if (o.proxy_source == manual)
|
if (o.proxy_source == manual)
|
||||||
{
|
{
|
||||||
if (o.proxy_type == http)
|
if (o.proxy_type == http)
|
||||||
|
|
Loading…
Reference in New Issue