From ec2f35cb6f59c30ebed564337486d49383e99f11 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 7 Apr 2010 17:37:54 +0000 Subject: Fix for new cache. svn path=/trunk/netsurf/; revision=10282 --- riscos/sslcert.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/sslcert.c b/riscos/sslcert.c index ea9e4189a..5da366ff7 100644 --- a/riscos/sslcert.c +++ b/riscos/sslcert.c @@ -28,6 +28,7 @@ #include #include "oslib/wimp.h" #include "content/content.h" +#include "content/hlcache.h" #include "content/fetch.h" #include "content/urldb.h" #include "desktop/browser.h" @@ -99,7 +100,7 @@ void ro_gui_cert_init(void) * Open the certificate verification dialog */ -void gui_cert_verify(struct browser_window *bw, struct content *c, +void gui_cert_verify(struct browser_window *bw, hlcache_handle *c, const struct ssl_cert_info *certs, unsigned long num) { wimp_w w; @@ -122,7 +123,7 @@ void gui_cert_verify(struct browser_window *bw, struct content *c, warn_user("NoMemory", 0); return; } - data->url = strdup(c->url); + data->url = strdup(content_get_url(c)); if (!data->url) { free(data); warn_user("NoMemory", 0); -- cgit v1.2.3