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

index 11617196f2fcf5437124259a7876213b91a5f268..223a4b32e06759640eb8ad6139ea534a22bd8fc3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: net.h,v 1.28.128.1 2008/07/01 02:09:10 each Exp $ */
+/* $Id: net.h,v 1.28.128.2 2008/07/01 23:46:44 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)