1
0
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:
david
2009-11-26 22:28:55 +00:00
parent d2519e4e12
commit 24ba29a3b3

View File

@@ -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);