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 2016-03-11 19:06:51 -05:00
parent f1ce93e5d5
commit 4c8d5eaff0
1 changed files with 1 additions and 1 deletions

View File

@ -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;