changeset 986:9b80efded6a5

[xemacs-hg @ 2002-09-01 06:49:49 by youngs] 2002-08-30 Mike Alexander <mta@arbortext.com> * event-msw.c (winsock_closer): Use closesocket, not CloseHandle to close a socket.
author youngs
date Sun, 01 Sep 2002 06:49:50 +0000
parents 7f62a956b825
children 7ffc86e44409
files src/ChangeLog src/event-msw.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Sep 01 06:41:45 2002 +0000
+++ b/src/ChangeLog	Sun Sep 01 06:49:50 2002 +0000
@@ -1,3 +1,8 @@
+2002-09-01  Mike Alexander  <mta@arbortext.com>
+
+	* event-msw.c (winsock_closer): Use closesocket, not CloseHandle
+	to close a socket.
+
 2002-08-31  Seiichi Ikiuo  <ikiuo@polyphony.co.jp>
 
 	* file-coding.h (detection_result): fix DET_LOWEST.
--- a/src/event-msw.c	Sun Sep 01 06:41:45 2002 +0000
+++ b/src/event-msw.c	Sun Sep 01 06:49:50 2002 +0000
@@ -829,7 +829,7 @@
   else
     shutdown (str->s, 1);
 
-  CloseHandle ((HANDLE)str->s);
+  closesocket (str->s);
   if (str->pending_p)
     WaitForSingleObject (str->ov.hEvent, INFINITE);