summaryrefslogtreecommitdiff
path: root/tests/disable-scan.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-28 23:12:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-03-29 14:43:54 +0200
commit33ba0ecf482302b9906d9f6c4c1ab4fb2b2a3ef3 (patch)
treec160846c8dc0ddb32e53a6491bf88bbba0acf54d /tests/disable-scan.pl
parent2c26eeef12f0204fb85d6bf40b4e7a1e2ddcdf24 (diff)
downloadcurl-33ba0ecf482302b9906d9f6c4c1ab4fb2b2a3ef3.tar.gz
define: remove CURL_DISABLE_NTLM ifdefsbagder/disable-scan-improvement
It was never defined anywhere. Fixed disable-scan (test 1165) to also scan headers, which found this issue. Closes #6809
Diffstat (limited to 'tests/disable-scan.pl')
-rwxr-xr-xtests/disable-scan.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/disable-scan.pl b/tests/disable-scan.pl
index 16ffd1d8f..64a181aca 100755
--- a/tests/disable-scan.pl
+++ b/tests/disable-scan.pl
@@ -6,7 +6,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 2010 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 2010 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -62,7 +62,7 @@ sub scan_file {
sub scan_dir {
my ($dir)=@_;
opendir(my $dh, $dir) || die "Can't opendir $dir: $!";
- my @cfiles = grep { /\.c\z/ && -f "$dir/$_" } readdir($dh);
+ my @cfiles = grep { /\.[ch]\z/ && -f "$dir/$_" } readdir($dh);
closedir $dh;
for my $f (sort @cfiles) {
scan_file("$dir/$f");