]> Skullheadx's Git Forge - surf.git/commitdiff
Fix user agent command-line parameter
authorQuentin Rameau <quinq@fifth.space>
Mon, 23 Nov 2015 21:13:32 +0000 (22:13 +0100)
committerQuentin Rameau <quinq@fifth.space>
Mon, 23 Nov 2015 21:13:32 +0000 (22:13 +0100)
Thanks to yui for seeing that!

surf.c

diff --git a/surf.c b/surf.c
index 180f6e4c9aca2fb4aeba2eab75d834cf25b1e23a..0dd67b63fd13b79e69ee9f9d52e39e3e147867dd 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -1517,7 +1517,7 @@ main(int argc, char *argv[])
                stylefile = EARGF(usage());
                break;
        case 'u':
-               useragent = EARGF(usage());
+               fulluseragent = EARGF(usage());
                break;
        case 'v':
                die("surf-"VERSION", ©2009-2015 surf engineers, "