mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 07:44:57 +03:00
Cedar/IPC: Remove unused "UserName" and "Password" variables and assignment code
This commit also removes "HubName"'s first assignment, because the value is retrieved from PACK later (identifier: "IpcHubName").
This commit is contained in:
@ -298,9 +298,6 @@ IPC *NewIPC(CEDAR *cedar, char *client_name, char *postfix, char *hubname, char
|
||||
ipc->FlushList = NewTubeFlushList();
|
||||
|
||||
StrCpy(ipc->ClientHostname, sizeof(ipc->ClientHostname), client_hostname);
|
||||
StrCpy(ipc->HubName, sizeof(ipc->HubName), hubname);
|
||||
StrCpy(ipc->UserName, sizeof(ipc->UserName), username);
|
||||
StrCpy(ipc->Password, sizeof(ipc->Password), password);
|
||||
|
||||
// Connect the in-process socket
|
||||
s = ConnectInProc(a, client_ip, client_port, server_ip, server_port);
|
||||
|
Reference in New Issue
Block a user