Nmap Development mailing list archives

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


From: Kris Katterjohn <katterjohn () 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

Current thread: