aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-12-10 15:36:10 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-12-10 15:36:10 +0000
commitb422f71d84c4155e6c88eec754f8fb8816b2c345 (patch)
tree637a8f88bfd6fbc8956f381d2a122e5e1aa0aa5b
parentNEWS: func: LIST, LIST_MENU, MOVE_LIST_MENU (diff)
downloadw3m-b422f71d84c4155e6c88eec754f8fb8816b2c345.tar.gz
w3m-b422f71d84c4155e6c88eec754f8fb8816b2c345.zip
[w3m-dev 03551] Re: External URI loader
* file.c (loadGeneralFile): fix SCM_UNKNONWN From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
-rw-r--r--ChangeLog11
-rw-r--r--file.c8
2 files changed, 14 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 36d70a9..3c8a2b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-12-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 03551] Re: External URI loader
+ * file.c (loadGeneralFile): fix SCM_UNKNONWN
+
+2002-12-10 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * NEWS: func: LIST, LIST_MENU, MOVE_LIST_MENU
+
2002-12-10 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 03549] link list
@@ -5672,4 +5681,4 @@ a * [w3m-dev 03276] compile error on EWS4800
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.606 2002/12/09 15:51:08 ukai Exp $
+$Id: ChangeLog,v 1.607 2002/12/10 15:36:10 ukai Exp $
diff --git a/file.c b/file.c
index 2c6e715..103ae9a 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.157 2002/12/09 15:40:35 ukai Exp $ */
+/* $Id: file.c,v 1.158 2002/12/10 15:36:10 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -1570,10 +1570,10 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
case SCM_UNKNOWN:
#ifdef USE_EXTERNAL_URI_LOADER
tmp = searchURIMethods(&pu);
- if (tmp != NULL)
+ if (tmp != NULL) {
b = loadGeneralFile(tmp->ptr, current, referer, flag, request);
- if (b != NULL && b != NO_BUFFER) {
- copyParsedURL(&b->currentURL, &pu);
+ if (b != NULL && b != NO_BUFFER)
+ copyParsedURL(&b->currentURL, &pu);
return b;
}
#endif