Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Jun 25, 2024
1 parent 06bb01e commit 685401d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libclamav/scanners.c
Original file line number Diff line number Diff line change
Expand Up @@ -2484,15 +2484,9 @@ static bool is_url(const char *const str)
bool bRet = false;
size_t i;

#if 0
MATCH(str, "https://");
MATCH(str, "http://");
MATCH(str, "ftp://");
#else
for (i = 0; i < sizeof(URI_LIST) / sizeof(URI_LIST[0]); i++) {
MATCH(str, URI_LIST[i]);
}
#endif
done:
return bRet;
#undef MATCH
Expand Down

0 comments on commit 685401d

Please sign in to comment.