You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@hyperreal.org on 1999/10/08 16:35:34 UTC

cvs commit: apache-2.0/src/os/win32 iol_socket.c

stoddard    99/10/08 07:35:34

  Modified:    src/os/win32 iol_socket.c
  Log:
  close() doesn't work on Win32 sockets
  
  Revision  Changes    Path
  1.4       +1 -1      apache-2.0/src/os/win32/iol_socket.c
  
  Index: iol_socket.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/win32/iol_socket.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- iol_socket.c	1999/08/19 15:13:50	1.3
  +++ iol_socket.c	1999/10/08 14:35:34	1.4
  @@ -114,7 +114,7 @@
       iol_socket *iol = (iol_socket *)viol;
       int rv;
   
  -    rv = close(iol->fd);
  +    rv = closesocket(iol->fd);
   
       free(iol);