aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
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 /file.c
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>
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
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