]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Fri, 12 Dec 2008 23:46:04 +0000 (23:46 +0000)
committerAutomatic Updater <source@isc.org>
Fri, 12 Dec 2008 23:46:04 +0000 (23:46 +0000)
lib/dns/include/dns/rdata.h
lib/dns/rdata.c

index aebc4cf8e6061ee4342ef22f6b2eb35cbb2b35a4..e864c555c2b218c3126e280b19fdf00d281ddd16 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) 1998-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: rdata.h,v 1.60.18.4 2008/12/12 04:53:17 marka Exp $ */
+/* $Id: rdata.h,v 1.60.18.5 2008/12/12 23:46:04 tbox Exp $ */
 
 #ifndef DNS_RDATA_H
 #define DNS_RDATA_H 1
@@ -327,11 +327,11 @@ dns_rdata_fromtext(dns_rdata_t *rdata, dns_rdataclass_t rdclass,
  *\li  'target' is a valid region.
  *
  *\li  'origin' if non NULL it must be absolute.
- *     
+ *
  *\li  'callbacks' to be NULL or callbacks->warn and callbacks->error be
  *     initialized.
  *
- * Ensures, 
+ * Ensures,
  *     if result is success:
  *\li          If 'rdata' is not NULL, it is attached to the target.
 
index e20b512eb88bde2369cade56afd9e2aa678a9a91..13409bc14394718f16d23f13a68e848facfc7b59 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * Copyright (C) 2004-2006  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2006, 2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-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: rdata.c,v 1.184.18.10 2008/12/12 04:53:16 marka Exp $ */
+/* $Id: rdata.c,v 1.184.18.11 2008/12/12 23:46:04 tbox Exp $ */
 
 /*! \file */
 
@@ -111,7 +111,7 @@ typedef struct dns_rdata_textctx {
        dns_name_t *origin;     /*%< Current origin, or NULL. */
        unsigned int flags;     /*%< DNS_STYLEFLAG_*  */
        unsigned int width;     /*%< Width of rdata column. */
-       const char *linebreak;  /*%< Line break string. */
+       const char *linebreak;  /*%< Line break string. */
 } dns_rdata_textctx_t;
 
 static isc_result_t
@@ -532,7 +532,7 @@ unknown_fromtext(dns_rdataclass_t rdclass, dns_rdatatype_t type,
        result = isc_buffer_allocate(mctx, &buf, token.value.as_ulong);
        if (result != ISC_R_SUCCESS)
                return (result);
-       
+
        result = isc_hex_tobuffer(lexer, buf,
                                  (unsigned int)token.value.as_ulong);
        if (result != ISC_R_SUCCESS)
@@ -1504,16 +1504,16 @@ byte_btoa(int c, isc_buffer_t *target, struct state *state) {
                           /*
                            * Because some don't support u_long.
                            */
-                       tmp = 32;
-                       tmpword -= (isc_int32_t)(85 * 85 * 85 * 85 * 32);
+                       tmp = 32;
+                       tmpword -= (isc_int32_t)(85 * 85 * 85 * 85 * 32);
                    }
                    if (tmpword < 0) {
-                       tmp = 64;
-                       tmpword -= (isc_int32_t)(85 * 85 * 85 * 85 * 32);
+                       tmp = 64;
+                       tmpword -= (isc_int32_t)(85 * 85 * 85 * 85 * 32);
                    }
                        if (tr.length < 5)
                                return (ISC_R_NOSPACE);
-                       tr.base[0] = atob_digits[(tmpword /
+                       tr.base[0] = atob_digits[(tmpword /
                                              (isc_int32_t)(85 * 85 * 85 * 85))
                                                + tmp];
                        tmpword %= (isc_int32_t)(85 * 85 * 85 * 85);
@@ -1596,7 +1596,7 @@ warn_badmx(isc_token_t *token, isc_lex_t *lexer,
        if (lexer != NULL) {
                file = isc_lex_getsourcename(lexer);
                line = isc_lex_getsourceline(lexer);
-               (*callbacks->warn)(callbacks, "%s:%u: warning: '%s': %s", 
+               (*callbacks->warn)(callbacks, "%s:%u: warning: '%s': %s",
                                   file, line, DNS_AS_STR(*token),
                                   dns_result_totext(DNS_R_MXISADDRESS));
        }
@@ -1609,12 +1609,12 @@ warn_badname(dns_name_t *name, isc_lex_t *lexer,
        const char *file;
        unsigned long line;
        char namebuf[DNS_NAME_FORMATSIZE];
-       
+
        if (lexer != NULL) {
                file = isc_lex_getsourcename(lexer);
                line = isc_lex_getsourceline(lexer);
                dns_name_format(name, namebuf, sizeof(namebuf));
-               (*callbacks->warn)(callbacks, "%s:%u: warning: %s: %s", 
+               (*callbacks->warn)(callbacks, "%s:%u: warning: %s: %s",
                                   file, line, namebuf,
                                   dns_result_totext(DNS_R_BADNAME));
        }