patch-portlist_cc 542 B

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