mirror of
https://github.com/nmap/nmap.git
synced 2026-01-29 01:29:22 +00:00
Fix what looks like a typing error in portlist.cc. There's no point to
assigning to our argument.
This commit is contained in:
@@ -326,7 +326,7 @@ void Port::setServiceProbeResults(enum serviceprobestate sres,
|
||||
if (sname)
|
||||
serviceprobe_service = strdup(sname);
|
||||
else
|
||||
sname = NULL;
|
||||
serviceprobe_service = NULL;
|
||||
|
||||
if (fingerprint)
|
||||
serviceprobe_fp = strdup(fingerprint);
|
||||
|
||||
Reference in New Issue
Block a user