Use fd_create on Windows.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 30 Jun 2003 04:44:22 +0000 (04:44 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Mon, 30 Jun 2003 04:44:22 +0000 (04:44 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@600 cb58f699-b61c-0410-a6fe-9272a202ed29

shar/shar.c

index cfedbc9..67e7fcd 100644 (file)
@@ -98,11 +98,7 @@ int shar_create_svc(ShibSocket sock, const ShibRPCProtocols protos[], int numpro
   SVCXPRT *svc;
 
   /* Wrap an RPC Service around the new connection socket */
-#ifdef WIN32
-  svc = svctcp_create(sock, 0, 0);
-#else
   svc = svcfd_create (sock, 0, 0);
-#endif
   if (!svc) {
     fprintf (stderr, "Cannot create RPC Listener\n");
     return -1;