1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Use more automatic memory management in nmap_dns.cc.

This commit is contained in:
david
2013-01-25 06:26:23 +00:00
parent c11ceacc1f
commit 6784954eee
5 changed files with 75 additions and 132 deletions

View File

@@ -199,7 +199,7 @@ class Target {
away when you setTargetSockAddr(), so make sure you do these in proper
order
*/
void setHostName(char *name);
void setHostName(const char *name);
/* Generates a printable string consisting of the host's IP
address and hostname (if available). Eg "www.insecure.org
(64.71.184.53)" or "fe80::202:e3ff:fe14:1102". The name is