WIN32: More ifdef cleanups
[deb_libnfs.git] / lib / init.c
index 80368c2915f99e9f5171d6590fcab66a96144022..e1d4980913f62a0dcc2129f1b792266a98fb27fb 100644 (file)
@@ -202,11 +202,7 @@ void rpc_destroy_context(struct rpc_context *rpc)
        rpc->auth =NULL;
 
        if (rpc->fd != -1) {
-#if defined(WIN32)
-               closesocket(rpc->fd);
-#else
                close(rpc->fd);
-#endif
        }
 
        if (rpc->encodebuf != NULL) {