summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-04-07 17:37:54 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-04-07 17:37:54 +0000
commitec2f35cb6f59c30ebed564337486d49383e99f11 (patch)
treee784ca13b303104d675025ab92db93bfe8091c62 /riscos
parentcffb7ea77b40f31773f7d6b18097e4bcca2ab2f9 (diff)
downloadnetsurf-ec2f35cb6f59c30ebed564337486d49383e99f11.tar.gz
netsurf-ec2f35cb6f59c30ebed564337486d49383e99f11.tar.bz2
Fix for new cache.
svn path=/trunk/netsurf/; revision=10282
Diffstat (limited to 'riscos')
-rw-r--r--riscos/sslcert.c5
1 files changed, 3 insertions, 2 deletions
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 <string.h>
#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);