aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--url.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bbb9d1..dc96602 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02576]
+ * url.c (openURL): remove pu->file = p; which cause segfault
+ because p is not initialized
+
2001-11-28 Fumitoshi UKAI <ukai@debian.or.jp>
* [w3m-dev 02571] MAXPATHLEN
diff --git a/url.c b/url.c
index a608522..25a1260 100644
--- a/url.c
+++ b/url.c
@@ -1,4 +1,4 @@
-/* $Id: url.c,v 1.10 2001/11/24 02:01:26 ukai Exp $ */
+/* $Id: url.c,v 1.11 2001/11/27 17:00:18 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include <sys/socket.h>
@@ -1366,7 +1366,6 @@ openURL(char *url, ParsedURL *pu, ParsedURL *current,
option->referer),
(void (*)())pclose);
if (uf.stream == NULL) {
- pu->file = p;
goto ordinary_local_file;
}
uf.is_cgi = TRUE;