From 09d65829ae970930c6942a6c06058e584f24b770 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 5 Jan 2022 22:24:16 +0300 Subject: libcurl: update to 7.81.0 --- libs/libcurl/src/checksrc.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/libcurl/src/checksrc.pl') diff --git a/libs/libcurl/src/checksrc.pl b/libs/libcurl/src/checksrc.pl index 8f98a99ab5..eea1126d1c 100644 --- a/libs/libcurl/src/checksrc.pl +++ b/libs/libcurl/src/checksrc.pl @@ -502,7 +502,7 @@ sub scanfile { } # check for '== NULL' in if/while conditions but not if the thing on # the left of it is a function call - if($nostr =~ /^(.*)(if|while)(\(.*[^)]) == NULL/) { + if($nostr =~ /^(.*)(if|while)(\(.*?)([!=]= NULL|NULL [!=]=)/) { checkwarn("EQUALSNULL", $line, length($1) + length($2) + length($3), $file, $l, "we prefer !variable instead of \"== NULL\" comparisons"); -- cgit v1.2.3