fix IV_GUI_VERSION string

pull/1/head
Heiko Hund 2014-11-16 16:16:31 +01:00
parent 82a9b8bb6f
commit a449f63bcd
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ StartOpenVPN(connection_t *c)
/* Construct command line */ /* Construct command line */
_sntprintf_0(cmdline, _T("openvpn --config \"%s\" " _sntprintf_0(cmdline, _T("openvpn --config \"%s\" "
"--setenv IV_GUI_VER \"%s\" --service %s 0 --log%s \"%s\" --auth-retry interact " "--setenv IV_GUI_VER \"%S\" --service %s 0 --log%s \"%s\" --auth-retry interact "
"--management %S %hd stdin --management-query-passwords %s" "--management %S %hd stdin --management-query-passwords %s"
"--management-hold"), c->config_file, PACKAGE_STRING, exit_event_name, "--management-hold"), c->config_file, PACKAGE_STRING, exit_event_name,
(o.append_string[0] == '1' ? _T("-append") : _T("")), c->log_path, (o.append_string[0] == '1' ? _T("-append") : _T("")), c->log_path,