[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.

Excluded: 3rd-party code (incl. wine) and most of the win32ss.
This commit is contained in:
Hermès Bélusca-Maïto 2021-09-13 03:33:14 +02:00
parent bbabe2489e
commit 9393fc320e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
701 changed files with 14685 additions and 14693 deletions

View file

@ -3,7 +3,7 @@ add_definitions(-Dtzset=_tzset)
include_directories(include)
spec2def(dhcpcsvc.dll dhcpcsvc.spec ADD_IMPORTLIB)
list(APPEND SOURCE
list(APPEND SOURCE
dhcp/adapter.c
dhcp/alloc.c
dhcp/api.c

View file

@ -172,7 +172,7 @@ BOOL PrepareAdapterForService( PDHCP_ADAPTER Adapter ) {
{
/* DHCP enabled by default */
DhcpEnabled = 1;
}
}
if( !DhcpEnabled ) {
/* Non-automatic case */
@ -222,7 +222,7 @@ IsReconnectHackNeeded(PDHCP_ADAPTER Adapter, const MIB_IFROW* IfEntry)
if (Adapter->DhclientInfo.client->state != S_BOUND &&
Adapter->DhclientInfo.client->state != S_STATIC)
return FALSE;
ApiUnlock();
Orig = AdapterInfo = HeapAlloc(GetProcessHeap(), 0, sizeof(IP_ADAPTER_INFO));
@ -397,7 +397,7 @@ DWORD WINAPI AdapterDiscoveryThread(LPVOID Context) {
socket( AF_INET, SOCK_DGRAM, IPPROTO_UDP );
if (DhcpSocket != INVALID_SOCKET) {
/* Allow broadcast on this socket */
Broadcast = 1;
setsockopt(DhcpSocket,
@ -405,7 +405,7 @@ DWORD WINAPI AdapterDiscoveryThread(LPVOID Context) {
SO_BROADCAST,
(const char *)&Broadcast,
sizeof(Broadcast));
Adapter->ListenAddr.sin_family = AF_INET;
Adapter->ListenAddr.sin_port = htons(LOCAL_PORT);
Adapter->BindStatus =

View file

@ -185,7 +185,7 @@ DWORD DSStaticRefreshParams( PipeSendFunc Send, HANDLE CommPipe, COMM_DHCP_REQ *
DeleteIpForwardEntry( &Adapter->RouterMib );
Adapter->RouterMib.dwForwardNextHop = 0;
}
Adapter->DhclientState.state = S_STATIC;
proto = find_protocol_by_adapter( &Adapter->DhclientInfo );
if (proto)

View file

@ -51,7 +51,7 @@ DhcpCApiInitialize(LPDWORD Version)
}
/* Change the pipe into message mode */
PipeMode = PIPE_READMODE_MESSAGE;
PipeMode = PIPE_READMODE_MESSAGE;
if (!SetNamedPipeHandleState(PipeHandle, &PipeMode, NULL, NULL))
{
/* Mode change failed */