1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-05 23:35:48 +03:00

Fixed RH bug #58124 due to an off-by-one error when parsing -o arguments.

* xsltproc/xsltproc.c: Fixed RH bug #58124 due to an off-by-one
  error when parsing -o arguments.
Daniel
This commit is contained in:
Daniel Veillard
2002-01-20 13:34:51 +00:00
parent 14a94c1438
commit 2590cc843a
2 changed files with 6 additions and 1 deletions

View File

@@ -380,7 +380,7 @@ main(int argc, char **argv)
(!strcmp(argv[i], "-output")) ||
(!strcmp(argv[i], "--output"))) {
i++;
output = argv[i++];
output = argv[i];
} else if ((!strcmp(argv[i], "-V")) ||
(!strcmp(argv[i], "-version")) ||
(!strcmp(argv[i], "--version"))) {