mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
fixed msvc compile problem
svn path=/trunk/; revision=18584
This commit is contained in:
parent
bbe3e0120a
commit
4370373447
1 changed files with 2 additions and 1 deletions
|
@ -19,12 +19,13 @@
|
|||
|
||||
DWORD WINAPI StartServer(LPVOID lpParam)
|
||||
{
|
||||
SOCKET ListeningSocket;
|
||||
const TCHAR* HostIP = "127.0.0.1";
|
||||
PSERVICES pServices;
|
||||
|
||||
pServices = (PSERVICES)lpParam;
|
||||
|
||||
SOCKET ListeningSocket = SetUpListener(HostIP, htons(pServices->Port));
|
||||
ListeningSocket = SetUpListener(HostIP, htons(pServices->Port));
|
||||
if (ListeningSocket == INVALID_SOCKET)
|
||||
{
|
||||
_tprintf(_T("error setting up socket\n"));
|
||||
|
|
Loading…
Reference in a new issue