mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:03:06 +00:00
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
This commit is contained in:
parent
bbabe2489e
commit
9393fc320e
701 changed files with 14685 additions and 14693 deletions
|
@ -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
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue