X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=surf.c;h=cac329b89e1d9b4481e575dff508c686213b5f64;hb=df96fe4171c525968a81c794dc534dfb628807e7;hp=baebe5c6411d8b8eeedde01e84c9802e7cf6d3b0;hpb=543d0c77ee1ec96f57966e06337eb0351adae017;p=surf.git diff --git a/surf.c b/surf.c index baebe5c..cac329b 100644 --- a/surf.c +++ b/surf.c @@ -345,7 +345,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), useragent); spawn(c, &arg); return FALSE; }