mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Use const and avoid strdup in fingerprint parsing
This commit is contained in:
@@ -80,6 +80,6 @@ const char *string_pool_substr_strip(const char *s, const char *t);
|
||||
|
||||
/* Skip over whitespace to find the beginning of a word, then read until the
|
||||
next whitespace character. Returns NULL if only whitespace is found. */
|
||||
const char *string_pool_strip_word(const char *s);
|
||||
const char *string_pool_strip_word(const char *s, const char *end);
|
||||
|
||||
#endif // STRING_POOL_H
|
||||
|
||||
Reference in New Issue
Block a user