From 24ba29a3b3c17d1a27acdcc366d7f1caba528ba4 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 26 Nov 2009 22:28:55 +0000 Subject: [PATCH] Fix what looks like a typing error in portlist.cc. There's no point to assigning to our argument. --- portlist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portlist.cc b/portlist.cc index 490d486e2..5872a5502 100644 --- a/portlist.cc +++ b/portlist.cc @@ -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);