From 33ba0ecf482302b9906d9f6c4c1ab4fb2b2a3ef3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 28 Mar 2021 23:12:23 +0200 Subject: define: remove CURL_DISABLE_NTLM ifdefs It was never defined anywhere. Fixed disable-scan (test 1165) to also scan headers, which found this issue. Closes #6809 --- tests/disable-scan.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/disable-scan.pl') 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, , et al. +# Copyright (C) 2010 - 2021, Daniel Stenberg, , 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"); -- cgit v1.2.1