about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTTCP.c4
-rw-r--r--WWW/Library/Implementation/HTTP.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c
index 3cc43bd6..abe06777 100644
--- a/WWW/Library/Implementation/HTTCP.c
+++ b/WWW/Library/Implementation/HTTCP.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTTCP.c,v 1.139 2018/03/11 22:30:30 tom Exp $
+ * $LynxId: HTTCP.c,v 1.140 2018/03/21 00:29:50 tom Exp $
  *
  *			Generic Communication Code		HTTCP.c
  *			==========================
@@ -1589,7 +1589,7 @@ static void really_getaddrinfo(const char *host,
 	    statuses->h_length = (int) (((LYNX_ADDRINFO *) (*result))->ai_addrlen);
 	}
     }
-    free(res);
+    freeaddrinfo(res);
 }
 #endif /* NSL_FORK */
 
diff --git a/WWW/Library/Implementation/HTTP.c b/WWW/Library/Implementation/HTTP.c
index 1d8dd2ec..a4037f2a 100644
--- a/WWW/Library/Implementation/HTTP.c
+++ b/WWW/Library/Implementation/HTTP.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTTP.c,v 1.168 2018/03/18 18:47:59 tom Exp $
+ * $LynxId: HTTP.c,v 1.169 2018/03/21 00:45:27 tom Exp $
  *
  * HyperText Tranfer Protocol	- Client implementation		HTTP.c
  * ==========================
@@ -431,7 +431,7 @@ int ws_netread(int fd, char *buf, int len)
 #define TICK	5
 #define STACK_SIZE	0x2000uL
 
-    InitializeCriticalSection(&critSec_READ);
+    EnterCriticalSection(&critSec_READ);
 
     para.fd = fd;
     para.buf = buf;