summaryrefslogtreecommitdiff
path: root/package/nmap/patches/patch-portlist_cc
blob: a974ca013590802a181ae38ce6a291fc35ab79cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- nmap-6.25.orig/portlist.cc	2012-10-11 06:45:50.000000000 +0200
+++ nmap-6.25/portlist.cc	2013-07-12 14:10:04.000000000 +0200
@@ -144,6 +144,7 @@ void Port::freeService(bool del_service)
   }
 }
 
+#ifndef NOLUA
 void Port::freeScriptResults(void)
 {
     while (!scriptResults.empty()) {
@@ -151,6 +152,7 @@ void Port::freeScriptResults(void)
         scriptResults.pop_front();
     }
 }
+#endif
 
 /* Fills in namebuf (as long as there is space in buflen) with the
    Name nmap normal output will use to describe the port.  This takes