]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice / whitespace
authorTinderbox User <tbox@isc.org>
Fri, 19 Dec 2014 23:45:48 +0000 (23:45 +0000)
committerTinderbox User <tbox@isc.org>
Fri, 19 Dec 2014 23:45:48 +0000 (23:45 +0000)
lib/dns/rdata/generic/opt_41.c
lib/dns/rdata/generic/spf_99.h
lib/dns/rdata/generic/txt_16.c
lib/irs/getnameinfo.c
lib/isc/unix/include/isc/net.h
lib/isc/unix/stdio.c
lib/isc/win32/socket.c

index bcd9e77ef585cf0d94a1f4b924e9e10e7a9201f1..ba3fef001a15c308d9d993c3c395c9caf66ac935 100644 (file)
@@ -374,7 +374,7 @@ dns_rdata_opt_current(dns_rdata_opt_t *opt, dns_rdata_opt_opcode_t *opcode) {
        INSIST(opt->offset + 4 <= opt->length);
        r.base = opt->options + opt->offset;
        r.length = opt->length - opt->offset;
-       
+
        opcode->opcode = uint16_fromregion(&r);
        isc_region_consume(&r, 2);
        opcode->length = uint16_fromregion(&r);
index 04bb119f25900ebfe89f6762771f6a3f6b155f56..35ec9bc9ff954deb96536c1bc6c86b0e5d14da4a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2014  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
 /* $Id: spf_99.h,v 1.4 2007/06/19 23:47:17 tbox Exp $ */
 
 typedef struct dns_rdata_spf_string {
-                isc_uint8_t    length;
-                unsigned char   *data;
+               isc_uint8_t    length;
+               unsigned char   *data;
 } dns_rdata_spf_string_t;
 
 typedef struct dns_rdata_spf {
-        dns_rdatacommon_t       common;
-        isc_mem_t               *mctx;
-        unsigned char           *txt;
-        isc_uint16_t            txt_len;
-        /* private */
-        isc_uint16_t            offset;
+       dns_rdatacommon_t       common;
+       isc_mem_t               *mctx;
+       unsigned char           *txt;
+       isc_uint16_t            txt_len;
+       /* private */
+       isc_uint16_t            offset;
 } dns_rdata_spf_t;
 
 /*
index 8732072f41194a4aafca4f13da4da097d790cafb..0cbe3ea6f15aa710d6026da2f6a21ff9170843dd 100644 (file)
@@ -271,35 +271,35 @@ dns_rdata_txt_next(dns_rdata_txt_t *txt) {
        REQUIRE(txt->txt != NULL && txt->txt_len != 0);
 
        INSIST(txt->offset + 1 <= txt->txt_len);
-        r.base = txt->txt + txt->offset;
-        r.length = txt->txt_len - txt->offset;
-        length = uint8_fromregion(&r);
-        INSIST(txt->offset + 1 + length <= txt->txt_len);
-        txt->offset = txt->offset + 1 + length;
-        if (txt->offset == txt->txt_len)
-                return (ISC_R_NOMORE);
-        return (ISC_R_SUCCESS);
+       r.base = txt->txt + txt->offset;
+       r.length = txt->txt_len - txt->offset;
+       length = uint8_fromregion(&r);
+       INSIST(txt->offset + 1 + length <= txt->txt_len);
+       txt->offset = txt->offset + 1 + length;
+       if (txt->offset == txt->txt_len)
+               return (ISC_R_NOMORE);
+       return (ISC_R_SUCCESS);
 }
 
 isc_result_t
 dns_rdata_txt_current(dns_rdata_txt_t *txt, dns_rdata_txt_string_t *string) {
-        isc_region_t r;
+       isc_region_t r;
 
-        REQUIRE(txt != NULL);
-        REQUIRE(string != NULL);
-        REQUIRE(txt->common.rdtype == 16);
-        REQUIRE(txt->txt != NULL);
-        REQUIRE(txt->offset < txt->txt_len);
+       REQUIRE(txt != NULL);
+       REQUIRE(string != NULL);
+       REQUIRE(txt->common.rdtype == 16);
+       REQUIRE(txt->txt != NULL);
+       REQUIRE(txt->offset < txt->txt_len);
 
-        INSIST(txt->offset + 1 <= txt->txt_len);
-        r.base = txt->txt + txt->offset;
-        r.length = txt->txt_len - txt->offset;
+       INSIST(txt->offset + 1 <= txt->txt_len);
+       r.base = txt->txt + txt->offset;
+       r.length = txt->txt_len - txt->offset;
 
-        string->length = uint8_fromregion(&r);
-        isc_region_consume(&r, 1);
-        string->data = r.base;
-        INSIST(txt->offset + 1 + string->length <= txt->txt_len);
+       string->length = uint8_fromregion(&r);
+       isc_region_consume(&r, 1);
+       string->data = r.base;
+       INSIST(txt->offset + 1 + string->length <= txt->txt_len);
 
-        return (ISC_R_SUCCESS);
+       return (ISC_R_SUCCESS);
 }
 #endif /* RDATA_GENERIC_TXT_16_C */
index eb4e75a50310789b8712349fc06b8cbbb5c0cbeb..ec43043ff87e7824eaccabcbfd27b614a0ed1c8c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009, 2011-2014  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 7a41eb89eaf2f6f26256d02a6f63cd4aa15fc402..290299bb8615050ddfa71af71dd6e559540175d6 100644 (file)
@@ -195,11 +195,11 @@ struct in6_pktinfo {
 #ifdef ISC_PLATFORM_HAVESALEN
 #define _SS_PAD1SIZE (_SS_ALIGNSIZE - (2 * sizeof(isc_uint8_t)))
 #define _SS_PAD2SIZE (_SS_MAXSIZE - (_SS_ALIGNSIZE + _SS_PAD1SIZE \
-                       + 2 * sizeof(isc_uint8_t)))
+                      + 2 * sizeof(isc_uint8_t)))
 #else
 #define _SS_PAD1SIZE (_SS_ALIGNSIZE - sizeof(isc_uint16_t))
 #define _SS_PAD2SIZE (_SS_MAXSIZE - (_SS_ALIGNSIZE + _SS_PAD1SIZE \
-                        + sizeof(isc_uint16_t)))
+                       + sizeof(isc_uint16_t)))
 #endif
 
 struct sockaddr_storage {
index cd6375598683d6d988d2b92d5331f5acab388657..82ef9c255fd4f8414804c7fc75160175f2a33b7c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007, 2011-2013  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2011-2014  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
index f1d272282d726a8f7cb7d70c523cd920783a2589..e50c0a060771fbfec17afd5ad1b44ba42689419c 100644 (file)
@@ -1823,7 +1823,7 @@ socket_create(isc_socketmgr_t *manager, int pf, isc_sockettype_t type,
        *socketp = sock;
 
        iocompletionport_update(sock);
-       
+
        if (dup_socket) {
 #ifndef ISC_ALLOW_MAPPED
                isc__socket_ipv6only(sock, ISC_TRUE);