]> granicus.if.org Git - curl/commitdiff
cmdline-opts/gen.pl: define the correct varname
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 26 Nov 2018 08:56:49 +0000 (09:56 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 26 Nov 2018 08:56:49 +0000 (09:56 +0100)
The variable definition had a small typo making it declare another
variable then the intended.

Closes #3304
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
docs/cmdline-opts/gen.pl

index 439b76585634f01cbde891d2f7424372f53050f9..a921298a643e71158d9b801241755f6e3cafb4f4 100755 (executable)
@@ -158,7 +158,7 @@ sub single {
             print STDERR "WARN: unrecognized line in $f, ignoring:\n:'$_';"
         }
     }
-    my @dest;
+    my @desc;
     while(<F>) {
         push @desc, $_;
     }