aboutsummaryrefslogtreecommitdiffstats
path: root/istream.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-04-07 13:21:11 +0000
committerDai Sato <satodai@w3m.jp>2006-04-07 13:21:11 +0000
commit22d66ca5850bf0190aa48d7f4442484f01fc7d02 (patch)
tree5b96b7e5bd65f08ad23867bc0738a0fef56f35df /istream.c
parentapply multiple patches on w3m-dev(-en) ML since Jun 2005 to Jan 2006. (diff)
downloadw3m-22d66ca5850bf0190aa48d7f4442484f01fc7d02.tar.gz
w3m-22d66ca5850bf0190aa48d7f4442484f01fc7d02.zip
rewind to 10 Feb 2006.
Diffstat (limited to '')
-rw-r--r--istream.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/istream.c b/istream.c
index 3344ab3..0e9147a 100644
--- a/istream.c
+++ b/istream.c
@@ -1,4 +1,4 @@
-/* $Id: istream.c,v 1.24 2006/04/05 14:18:54 inu Exp $ */
+/* $Id: istream.c,v 1.25 2006/04/07 13:21:11 inu Exp $ */
#include "fm.h"
#include "myctype.h"
#include "istream.h"
@@ -6,9 +6,6 @@
#ifdef USE_SSL
#include <openssl/x509v3.h>
#endif
-#ifdef __MINGW32_VERSION
-#include <winsock.h>
-#endif
#define uchar unsigned char
@@ -620,21 +617,13 @@ ssl_get_certificate(SSL * ssl, char *hostname)
static void
basic_close(int *handle)
{
-#ifdef __MINGW32_VERSION
- closesocket(*(int *)handle);
-#else
close(*(int *)handle);
-#endif
}
static int
basic_read(int *handle, char *buf, int len)
{
-#ifdef __MINGW32_VERSION
- return recv(*(int *)handle, buf, len, 0);
-#else
return read(*(int *)handle, buf, len);
-#endif
}
static void