aboutsummaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2006-02-10 12:52:23 +0000
committerDai Sato <satodai@w3m.jp>2006-02-10 12:52:23 +0000
commit77d768529518ce72dec748111fb5f1bf93e8a5c4 (patch)
tree1d63d370fa6c0e06bfee5811e8ea9194b7e3ff60 /url.c
parentfile.c: replace pclose with fclose in the end of uncompress_stream() by Dai Sato (diff)
downloadw3m-77d768529518ce72dec748111fb5f1bf93e8a5c4.tar.gz
w3m-77d768529518ce72dec748111fb5f1bf93e8a5c4.zip
replace pclose passed to localcgi_post/get() with fclose in openURL()
Diffstat (limited to '')
-rw-r--r--url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/url.c b/url.c
index 9d8c5df..8638613 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.89 2004/04/16 18:47:19 ukai Exp $ */
+/* $Id: url.c,v 1.90 2006/02/10 12:52:23 inu Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1526,12 +1526,12 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
/* local CGI: POST */
uf.stream = newFileStream(localcgi_post(pu->real_file, pu->query,
request, option->referer),
- (void (*)())pclose);
+ (void (*)())fclose);
else
/* lodal CGI: GET */
uf.stream = newFileStream(localcgi_get(pu->real_file, pu->query,
option->referer),
- (void (*)())pclose);
+ (void (*)())fclose);
if (uf.stream) {
uf.is_cgi = TRUE;
uf.scheme = pu->scheme = SCM_LOCAL_CGI;