Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: [PATCH] Remove possible second "return" due to an #if

[PATCH] Remove possible second "return" due to an #if

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Sun, 10 Dec 2006 19:12:57 -0600

This little patch just removes a possible extra return due to an #if.

It's a diff against 4.20

Thanks,
Kris Katterjohn

--- x/tcpip.cc 2006-12-07 21:01:19.000000000 -0600
+++ y/tcpip.cc 2006-12-10 19:08:47.000000000 -0600
@@ -1961,8 +1961,9 @@ if (timedout) {
 bool pcap_selectable_fd_valid() {
 #if defined(WIN32) || defined(MACOSX)
   return false;
-#endif
+#else
   return true;
+#endif
 }
 
 /* Call this instead of pcap_get_selectable_fd directly (or your code

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Dec 10 2006

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]