mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 12:19:02 +00:00
a few more consts
This commit is contained in:
2
utils.cc
2
utils.cc
@@ -80,7 +80,7 @@ extern NmapOps o;
|
||||
/* Test a wildcard mask against a test string. Wildcard mask can include '*' and
|
||||
'?' which work the same as they do in /bin/sh (except it's case insensitive).
|
||||
Return val of 1 means it DID match. 0 means it DIDN'T. - Doug Hoyte, 2005 */
|
||||
int wildtest(char *wild, char *test) {
|
||||
int wildtest(const char *wild, const char *test) {
|
||||
int i;
|
||||
|
||||
while (*wild != '\0' || *test != '\0') {
|
||||
|
||||
Reference in New Issue
Block a user