1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 00:04:57 +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

@ -8808,7 +8808,7 @@ void CmNewAccount(HWND hWnd)
}
else
{
if (cm->server_name == NULL)
if (cm->server_name == NULL || cm->Client->Unix)
{
Command(hWnd, CMD_NEW_VLAN);
return;

View File

@ -123,7 +123,7 @@
#define CEDAR_VER 406
// Build Number
#define CEDAR_BUILD 9435
#define CEDAR_BUILD 9436
// Beta number
//#define BETA_NUMBER 3
@ -143,11 +143,11 @@
// Specifies the build date
#define BUILD_DATE_Y 2014
#define BUILD_DATE_M 3
#define BUILD_DATE_D 26
#define BUILD_DATE_HO 10
#define BUILD_DATE_MI 52
#define BUILD_DATE_SE 19
#define BUILD_DATE_M 4
#define BUILD_DATE_D 9
#define BUILD_DATE_HO 1
#define BUILD_DATE_MI 46
#define BUILD_DATE_SE 49
// Tolerable time difference
#define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000)

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