diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-23 14:37:09 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-23 14:37:09 +0100 |
commit | d02011d69fe1e52ec0bc38051eff9ea93a1cc88c (patch) | |
tree | e754312d779e090111000d1c27d666fd318ae144 /win | |
parent | 2f3c378a3974cc206cf4e184dec9b303ce2ee43a (diff) |
Remove whitespace and minor style changes
Diffstat (limited to 'win')
-rw-r--r-- | win/inspircd_win32wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 0b9216313..9e6724126 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -28,7 +28,7 @@ * Starting with PSAPI version 2 for Windows 7 and Windows Server 2008 R2, this function is defined as K32GetProcessMemoryInfo in Psapi.h and exported * in Kernel32.lib and Kernel32.dll. However, you should always call this function as GetProcessMemoryInfo. To ensure correct resolution of symbols * for programs that will run on earlier versions of Windows, add Psapi.lib to the TARGETLIBS macro and compile the program with PSAPI_VERSION=1. - * + * * We do this before anything to make sure it's done. */ #define PSAPI_VERSION 1 @@ -114,7 +114,7 @@ __inline void sleep(int seconds) { Sleep(seconds * 1000); } /* IPV4 only convert string to address struct */ __inline int inet_aton(const char *cp, struct in_addr *addr) -{ +{ addr->s_addr = inet_addr(cp); return (addr->s_addr == INADDR_NONE) ? 0 : 1; }; |