1 --- LPRng-3.6.21/src/common/checkpc.c Fri Jul 14 14:16:44 2000
2 +++ LPRng-3.6.21/src/common/checkpc.c Fri Jul 14 14:30:13 2000
6 while( (d = readdir(dir)) ){
9 if( safestrcmp( cf_name, "." ) == 0
10 || safestrcmp( cf_name, ".." ) == 0 ) continue;
15 - Check_file( cf_name, Fix, 0, 0 );
17 + /* this happens to work because we have a filter named "filter",
18 + but there *has* to be a better way to actually do this */
19 + for( names = filter_names; *names; ++names ){
20 + if( strcmp( cf_name, *names ) == 0 ){
26 + Check_file( cf_name, Fix, 0, 0 );