Fix wrongly used o.conn[config] in place of current config c

Signed-off-by: Selva Nair <selva.nair@gmail.com>
pull/33/head
Selva Nair 9 years ago
parent f1ce93e5d5
commit 4c8d5eaff0

@ -640,7 +640,7 @@ ThreadOpenVPNStatus(void *p)
c->state = suspending;
EnableWindow(GetDlgItem(c->hwndStatus, ID_DISCONNECT), FALSE);
EnableWindow(GetDlgItem(c->hwndStatus, ID_RESTART), FALSE);
SetMenuStatus(&o.conn[config], disconnecting);
SetMenuStatus(c, disconnecting);
SetDlgItemText(c->hwndStatus, ID_TXT_STATUS, LoadLocalizedString(IDS_NFO_STATE_WAIT_TERM));
SetEvent(c->exit_event);
break;

Loading…
Cancel
Save