mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:43:32 +03:00
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
This commit is contained in:
parent
2c26eeef12
commit
33ba0ecf48
4 changed files with 3 additions and 12 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue