w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 6cec799692030c462391c659c9ffcba5fd359184
parent 1bef7434c4915f831e229eebbe76c24057b1fee7
Author: ukai <ukai>
Date:   Sat,  9 Feb 2002 15:27:14 +0000

[w3m-dev 03034] check buf
* frame.c (frame_download_source): buf->ssl_certificate can be used
			only if buf != NULL && buf != NO_BUFFER
From: Fumitoshi UKAI  <ukai@debian.or.jp>

Diffstat:
MChangeLog | 6++++++
Mframe.c | 3++-
2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,5 +1,11 @@ 2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp> + * [w3m-dev 03034] check buf + * frame.c (frame_download_source): buf->ssl_certificate can be used + only if buf != NULL && buf != NO_BUFFER + +2002-02-10 Fumitoshi UKAI <ukai@debian.or.jp> + * [w3m-dev 03033] SSL indicator * display.c (displayBuffer): show SSL indicator diff --git a/frame.c b/frame.c @@ -388,7 +388,8 @@ frame_download_source(struct frame_body *b, ParsedURL *currentURL, b->referer, flag | RG_FRAME_SRC, b->request); #ifdef USE_SSL /* XXX certificate? */ - b->ssl_certificate = buf->ssl_certificate; + if (buf && buf != NO_BUFFER) + b->ssl_certificate = buf->ssl_certificate; #endif w3m_dump &= ~DUMP_FRAME; is_redisplay = FALSE;