fix starting a connection with double click on icon

pull/1/head
Heiko Hund 2010-09-08 18:22:48 +02:00
parent 6c3ce57bc9
commit efc62c3d19
1 changed files with 1 additions and 1 deletions

2
tray.c
View File

@ -214,7 +214,7 @@ OnNotifyTray(LPARAM lParam)
/* Start connection if only one config exist */
if (o.num_configs == 1 && o.conn[0].state == disconnected)
StartOpenVPN(0);
StartOpenVPN(&o.conn[0]);
}
else if (disconnected_conns == o.num_configs - 1) {
/* Show status window if only one connection is running */