mirror of
https://github.com/curl/curl.git
synced 2026-07-29 22:08:05 +03:00
tidy-up: drop redundant != NULL syntax
Where missed by checksrc. Closes #21932
This commit is contained in:
parent
d8c97b021b
commit
59213abfb2
32 changed files with 58 additions and 59 deletions
|
|
@ -173,7 +173,7 @@ static size_t follow_links(CURLM *multi, struct memory *mem, const char *url)
|
|||
|
||||
static int is_html(const char *ctype)
|
||||
{
|
||||
return ctype != NULL && strlen(ctype) > 10 && strstr(ctype, "text/html");
|
||||
return ctype && strlen(ctype) > 10 && strstr(ctype, "text/html");
|
||||
}
|
||||
|
||||
int main(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue