fixed msvc compile problem
authorChristoph von Wittich <christoph_vw@reactos.org>
Wed, 19 Oct 2005 00:56:49 +0000 (00:56 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Wed, 19 Oct 2005 00:56:49 +0000 (00:56 +0000)
svn path=/trunk/; revision=18584

reactos/services/tcpsvcs/skelserver.c

index 869030c..886c66f 100644 (file)
 
 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"));