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 180f6e4..0dd67b6 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, "