* dump_setup.cc (dump_setup): Remove unneeded strlen when check_files

is not set.
This commit is contained in:
Corinna Vinschen 2004-09-23 10:32:20 +00:00
parent 20e474d7b8
commit 79de498006
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-09-23 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
* dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
is not set.
2004-09-22 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl>
Corinna Vinschen <corinna@vinschen.de>

View File

@ -403,8 +403,7 @@ dump_setup (int verbose, char **argv, bool check_files)
check_package_files (verbose, packages[i].name)
? " OK" : " Incomplete");
else
printf ("%-*s %-*s\n", package_len, packages[i].name,
strlen(packages[i].ver), packages[i].ver);
printf ("%-*s %s\n", package_len, packages[i].name, packages[i].ver);
fflush(stdout);
}