aboutsummaryrefslogtreecommitdiffstats
path: root/istream.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-01-20 15:25:29 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-01-20 15:25:29 +0000
commit136d8b81158406cfc00e617be6b0edc85011170e (patch)
tree0ab63f7621a9cc4f9f95674227a09481eb2ce072 /istream.c
parent[w3m-dev 03658] Re: Other user can see local cookie. (diff)
downloadw3m-136d8b81158406cfc00e617be6b0edc85011170e.tar.gz
w3m-136d8b81158406cfc00e617be6b0edc85011170e.zip
[w3m-dev 03659] Can't download from SSL.
* istream.c (ISfileno): case IST_SSL From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--istream.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/istream.c b/istream.c
index 979b9c6..252ce98 100644
--- a/istream.c
+++ b/istream.c
@@ -1,4 +1,4 @@
-/* $Id: istream.c,v 1.19 2003/01/18 18:40:32 ukai Exp $ */
+/* $Id: istream.c,v 1.20 2003/01/20 15:25:30 ukai Exp $ */
#include "fm.h"
#include "myctype.h"
#include "istream.h"
@@ -343,6 +343,10 @@ ISfileno(InputStream stream)
return *(int *)stream->base.handle;
case IST_FILE:
return fileno(stream->file.handle->f);
+#ifdef USE_SSL
+ case IST_SSL:
+ return stream->ssl.handle->sock;
+#endif
case IST_ENCODED:
return ISfileno(stream->ens.handle->is);
default: