aboutsummaryrefslogtreecommitdiffstats
path: root/WWW/Library
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-03-21 16:20:42 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-03-21 16:20:42 +0000
commit9432fa8a1a1a932811a63ffdb54064a53446ca83 (patch)
treeccde586a80f19923f242668fdd8a0a152e825dc7 /WWW/Library
parentc838e830e4b14855f27dc7a166f0684af41bdd35 (diff)
downloadlynx-snapshots-9432fa8a1a1a932811a63ffdb54064a53446ca83.tar.gz
snapshot of project "lynx", label v2-8-9dev_16y
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;