From a7ea753f93837ee5eed1e2c80b6642d08e6143e0 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Tue, 20 Nov 2012 11:53:29 +0100 Subject: Add a referer argument to the DOWNLOAD macro. Some sites need this. Thanks Hiltjo Posthuma! --- surf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'surf.c') diff --git a/surf.c b/surf.c index ec3bee6..3e2e2b0 100644 --- a/surf.c +++ b/surf.c @@ -430,7 +430,7 @@ initdownload(WebKitWebView *view, WebKitDownload *o, Client *c) { Arg arg; updatewinid(c); - arg = (Arg)DOWNLOAD((char *)webkit_download_get_uri(o)); + arg = (Arg)DOWNLOAD((char *)webkit_download_get_uri(o), geturi(c)); spawn(c, &arg); return FALSE; } -- cgit v1.2.3