1
0
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:
dmiller
2021-04-26 15:04:47 +00:00
parent 1fd272f8dd
commit d142d1f808
8 changed files with 23 additions and 25 deletions

View File

@@ -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') {