fixed msvc compile problem
Modified: trunk/reactos/services/tcpsvcs/skelserver.c
_____
Modified: trunk/reactos/services/tcpsvcs/skelserver.c
--- trunk/reactos/services/tcpsvcs/skelserver.c 2005-10-19 00:46:31 UTC
(rev 18583)
+++ trunk/reactos/services/tcpsvcs/skelserver.c 2005-10-19 00:56:49 UTC
(rev 18584)
@@ -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"));
Show replies by date