Use the surf user agent when downloading with wget.
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index baebe5c..cac329b 100644 (file)
--- 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;
 }