]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice / whitespace
authorTinderbox User <tbox@isc.org>
Sat, 23 May 2015 23:45:25 +0000 (23:45 +0000)
committerTinderbox User <tbox@isc.org>
Sat, 23 May 2015 23:45:25 +0000 (23:45 +0000)
bin/rndc/util.c
bin/tests/entropy2_test.c
bin/tests/entropy_test.c
bin/tests/system/builtin/Makefile.in
bin/tests/system/pipelined/pipequeries.c
bin/tests/wire_test.c
lib/dns/include/dns/tcpmsg.h
lib/isc/regex.c
lib/isccc/alist.c
lib/lwres/win32/socket.c

index 8de75740b989e63eb5d16c1a7a3770e72602d978..7716451da0e38eb5a9906223744c7df6e2a78ef6 100644 (file)
@@ -45,7 +45,7 @@ notify(const char *fmt, ...) {
        }
 }
 
-void            
+void
 fatal(const char *format, ...) {
        va_list args;
 
@@ -55,4 +55,4 @@ fatal(const char *format, ...) {
        va_end(args);
        fprintf(stderr, "\n");
        exit(1);
-}               
+}
index 90139884e83116e5cf1a78127f9daa707c71877a..76f22da78df80777a2beb5d7ee5fcf354301e610 100644 (file)
 
 static void
 hex_dump(const char *msg, void *data, unsigned int length) {
-        unsigned int len;
+       unsigned int len;
        unsigned char *base;
        isc_boolean_t first = ISC_TRUE;
 
        base = data;
 
-        printf("DUMP of %d bytes:  %s\n\t", length, msg);
-        for (len = 0; len < length; len++) {
-                if (len % 16 == 0 && !first)
+       printf("DUMP of %d bytes:  %s\n\t", length, msg);
+       for (len = 0; len < length; len++) {
+               if (len % 16 == 0 && !first)
                        printf("\n\t");
-                printf("%02x ", base[len]);
+               printf("%02x ", base[len]);
                first = ISC_FALSE;
-        }
-        printf("\n");
+       }
+       printf("\n");
 }
 
 static void
index 7bdcf29d565139b0bd3d61fa58cbb476f74a16e8..273050ee2ef62b0f3020f2fffc9717f88e6d8779 100644 (file)
 
 static void
 hex_dump(const char *msg, void *data, unsigned int length) {
-        unsigned int len;
+       unsigned int len;
        unsigned char *base;
        isc_boolean_t first = ISC_TRUE;
 
        base = data;
 
-        printf("DUMP of %d bytes:  %s\n\t", length, msg);
-        for (len = 0; len < length; len++) {
-                if (len % 16 == 0 && !first)
+       printf("DUMP of %d bytes:  %s\n\t", length, msg);
+       for (len = 0; len < length; len++) {
+               if (len % 16 == 0 && !first)
                        printf("\n\t");
-                printf("%02x ", base[len]);
+               printf("%02x ", base[len]);
                first = ISC_FALSE;
-        }
-        printf("\n");
+       }
+       printf("\n");
 }
 
 static void
index 1d2f60ac8350a085ad8b0cb45e2f7d4ab5bef913..be40c35cbb4a00172a95d2e3fe806ee5db23dd75 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2014, 2015  Internet Systems Consortium, Inc. ("ISC")
 #
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
index 71ec0ef55a239645bf93947a4b23f34991115571..022e87b4ca2308be38218ce28957fee9b0a5c1b6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014, 2015  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2014, 2015, 2015  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
index a718e3a1450672f37e1798aa85e84fdce274ebd6..af0c6f7fbf1d3606594085a8b74962e0b69b4710 100644 (file)
@@ -167,7 +167,7 @@ main(int argc, char *argv[]) {
                unsigned char *p = b;
                while (p < bp) {
                        unsigned int len;
-                       
+
                        if (p + 2 > bp) {
                                printf("premature end of packet\n");
                                exit(1);
@@ -228,10 +228,10 @@ process_message(isc_buffer_t *source) {
                 * XXXMLG
                 * Changing this here is a hack, and should not be done in
                 * reasonable application code, ever.
-               */
+               */
                message->from_to_wire = DNS_MESSAGE_INTENTRENDER;
 
-               for (i = 0; i < DNS_SECTION_MAX; i++)
+               for (i = 0; i < DNS_SECTION_MAX; i++)
                        message->counts[i] = 0;  /* Another hack XXX */
 
                result = dns_compress_init(&cctx, -1, mctx);
index fe83c532c8b16b724435ac080e4c4cf2a88bdfa9..6611145bc744e24679f61c6711add22b412ec6d7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2015  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index a1e76c7591800524159d2195dbf2e5bf230ced6d..7ed55fabf04114c5643c9b1a956501937194ec75 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013-2015  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2013, 2014.2015, 2015  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
index 37b9cdd5ba34127a04393ed01c4a01ce2e80a01d..cec8b5e550300997b4e3533403c1a70708d6d4bb 100644 (file)
@@ -51,7 +51,7 @@
 #define ALIST_TAG              "*alist*"
 #define MAX_INDENT             64
 
-static char spaces[MAX_INDENT + 1] = 
+static char spaces[MAX_INDENT + 1] =
        "                                                                ";
 
 isccc_sexpr_t *
index 31b43939d8f9568ef099c675504d779c41482d1b..9341f48426ca4d249aacd031173106284d1e10a2 100644 (file)
@@ -26,9 +26,9 @@ InitSockets(void) {
        WORD wVersionRequested;
        WSADATA wsaData;
        int err;
+
        wVersionRequested = MAKEWORD(2, 0);
+
        err = WSAStartup( wVersionRequested, &wsaData );
        if (err != 0) {
                fprintf(stderr, "WSAStartup() failed: %d\n", err);