[w3m-dev 02572] _peekURL() bug
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2001-11-27 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* [w3m-dev 02572]
|
||||||
|
* main.c (_peekURL): initialize s when anchor not found
|
||||||
|
|
||||||
2001-11-27 aito@fw.ipsj.or.jp
|
2001-11-27 aito@fw.ipsj.or.jp
|
||||||
* Error correction on doc-jp/FAQ.html
|
* Error correction on doc-jp/FAQ.html
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: main.c,v 1.23 2001/11/24 02:01:26 ukai Exp $ */
|
/* $Id: main.c,v 1.24 2001/11/27 04:45:28 ukai Exp $ */
|
||||||
#define MAINPROGRAM
|
#define MAINPROGRAM
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
@@ -3768,8 +3768,10 @@ _peekURL(int only_img)
|
|||||||
a = retrieveCurrentImg(Currentbuf);
|
a = retrieveCurrentImg(Currentbuf);
|
||||||
if (a == NULL) {
|
if (a == NULL) {
|
||||||
a = retrieveCurrentForm(Currentbuf);
|
a = retrieveCurrentForm(Currentbuf);
|
||||||
if (a == NULL)
|
if (a == NULL) {
|
||||||
|
s = NULL;
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
s = Strnew_charp(form2str((FormItemList *)a->url));
|
s = Strnew_charp(form2str((FormItemList *)a->url));
|
||||||
goto disp;
|
goto disp;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user