]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Tue, 1 Jul 2008 23:46:13 +0000 (23:46 +0000)
committerAutomatic Updater <source@isc.org>
Tue, 1 Jul 2008 23:46:13 +0000 (23:46 +0000)
lib/isc/win32/include/isc/net.h

index 39999db74f7fff12b88183f8ae428c0106e5774f..b59f5feff184df6f36033631e17f3d5822b77554 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * Copyright (C) 2004, 2005  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2003  Internet Software Consortium.
  *
- * Permission to use, copy, modify, and distribute this software for any
+ * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * copyright notice and this permission notice appear in all copies.
  *
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.h,v 1.21.18.6 2008/07/01 02:10:06 each Exp $ */
+/* $Id: net.h,v 1.21.18.7 2008/07/01 23:46:13 tbox Exp $ */
 
 #ifndef ISC_NET_H
 #define ISC_NET_H 1
  * This is here because named client, interfacemgr.c, etc. use the name as
  * a variable
  */
-#undef interface 
+#undef interface
 
 #ifndef INADDR_LOOPBACK
 #define INADDR_LOOPBACK 0x7f000001UL
@@ -155,15 +155,15 @@ typedef isc_uint16_t in_port_t;
 #define FD_CLR(fd, set) do { \
     u_int __i; \
     for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
-        if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \
-            while (__i < ((fd_set FAR *)(set))->fd_count-1) { \
-                ((fd_set FAR *)(set))->fd_array[__i] = \
-                    ((fd_set FAR *)(set))->fd_array[__i+1]; \
-                __i++; \
-            } \
-            ((fd_set FAR *)(set))->fd_count--; \
-            break; \
-        } \
+       if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \
+           while (__i < ((fd_set FAR *)(set))->fd_count-1) { \
+               ((fd_set FAR *)(set))->fd_array[__i] = \
+                   ((fd_set FAR *)(set))->fd_array[__i+1]; \
+               __i++; \
+           } \
+           ((fd_set FAR *)(set))->fd_count--; \
+           break; \
+       } \
     } \
 } while (0)
 
@@ -171,15 +171,15 @@ typedef isc_uint16_t in_port_t;
 #define FD_SET(fd, set) do { \
     u_int __i; \
     for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
-        if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET)(fd)) { \
-            break; \
-        } \
+       if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET)(fd)) { \
+           break; \
+       } \
     } \
     if (__i == ((fd_set FAR *)(set))->fd_count) { \
-        if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
-            ((fd_set FAR *)(set))->fd_array[__i] = (SOCKET)(fd); \
-            ((fd_set FAR *)(set))->fd_count++; \
-        } \
+       if (((fd_set FAR *)(set))->fd_count < FD_SETSIZE) { \
+           ((fd_set FAR *)(set))->fd_array[__i] = (SOCKET)(fd); \
+           ((fd_set FAR *)(set))->fd_count++; \
+       } \
     } \
 } while (0)