mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Make the argument to Target::setTargetName const.
This commit is contained in:
parent
d837d751bc
commit
e33810abae
2 changed files with 2 additions and 2 deletions
2
Target.h
2
Target.h
|
|
@ -205,7 +205,7 @@ class Target {
|
|||
away when you setTargetSockAddr(), so make sure you do these in proper
|
||||
order
|
||||
*/
|
||||
void setTargetName(char *name);
|
||||
void setTargetName(const char *name);
|
||||
|
||||
/* If the host is directly connected on a network, set and retrieve
|
||||
that information here. directlyConnected() will abort if it hasn't
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue