1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-12 02:34:59 +03:00

v4.06-9436-beta

This commit is contained in:
dnobori
2014-04-09 09:35:00 +09:00
parent a22f8216ae
commit a3a4ad0b0a
294 changed files with 350 additions and 301 deletions

View File

@ -5834,8 +5834,6 @@ REMOTE_CLIENT *CcConnectRpcEx(char *server_name, char *password, bool *bad_pass,
// read the current port number from the registry of the localhost
if (StrCmpi(server_name, "localhost") == 0)
{
wchar_t exename[MAX_PATH];
reg_port = MsRegReadIntEx2(REG_LOCAL_MACHINE, CLIENT_WIN32_REGKEYNAME, CLIENT_WIN32_REGVALUE_PORT, false, true);
reg_pid = MsRegReadIntEx2(REG_LOCAL_MACHINE, CLIENT_WIN32_REGKEYNAME, CLIENT_WIN32_REGVALUE_PID, false, true);