]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Wed, 23 Jul 2008 07:28:12 +0000 (07:28 +0000)
committerAutomatic Updater <source@isc.org>
Wed, 23 Jul 2008 07:28:12 +0000 (07:28 +0000)
bin/named/client.c
bin/named/interfacemgr.c
bin/named/lwresd.c
bin/tests/sig0_test.c
bin/tests/sock_test.c
lib/dns/dispatch.c
lib/dns/include/dns/dispatch.h
lib/dns/request.c
lib/dns/xfrin.c
lib/isc/include/isc/socket.h
lib/isc/win32/socket.c

index 3215c6e637329fb793b9f1e9e60c620fda3b6afa..fbc3bad18de751de7a78205d115c1b1ee28ca329 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-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: client.c,v 1.176.2.13.4.38.4.1 2008/05/22 21:11:13 each Exp $ */
+/* $Id: client.c,v 1.176.2.13.4.38.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
@@ -256,7 +256,7 @@ exit_check(ns_client_t *client) {
         *
         * Keep the view attached until any outstanding updates complete.
         */
-       if (client->nupdates == 0 && 
+       if (client->nupdates == 0 &&
            client->newstate == NS_CLIENTSTATE_FREED && client->view != NULL)
                dns_view_detach(&client->view);
 
@@ -786,7 +786,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
                isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
                if (ns_g_server->blackholeacl != NULL &&
                    dns_acl_match(&netaddr, NULL,
-                                 ns_g_server->blackholeacl,
+                                 ns_g_server->blackholeacl,
                                  &ns_g_server->aclenv,
                                  &match, NULL) == ISC_R_SUCCESS &&
                    match > 0)
@@ -803,7 +803,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
        isc_buffer_usedregion(buffer, &r);
 
        CTRACE("sendto");
-       
+
        result = isc_socket_sendto2(socket, &r, client->task,
                                    address, pktinfo,
                                    client->sendevent, sockflags);
@@ -1077,8 +1077,8 @@ ns_client_error(ns_client_t *client, isc_result_t result) {
        /*
         * FORMERR loop avoidance:  If we sent a FORMERR message
         * with the same ID to the same client less than two
-        * seconds ago, assume that we are in an infinite error 
-        * packet dialog with a server for some protocol whose 
+        * seconds ago, assume that we are in an infinite error
+        * packet dialog with a server for some protocol whose
         * error responses look enough like DNS queries to
         * elicit a FORMERR response.  Drop a packet to break
         * the loop.
@@ -1443,7 +1443,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
         * For IPv6 UDP queries, we get this from the pktinfo structure (if
         * supported).
         * If all the attempts fail (this can happen due to memory shortage,
-        * etc), we regard this as an error for safety. 
+        * etc), we regard this as an error for safety.
         */
        if ((client->interface->flags & NS_INTERFACEFLAG_ANYADDR) == 0)
                isc_netaddr_fromsockaddr(&destaddr, &client->interface->addr);
@@ -1504,7 +1504,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
                                                           view);
                        if (sigresult == ISC_R_SUCCESS)
                                tsig = client->message->tsigname;
-                               
+
                        if (allowed(&netaddr, tsig, view->matchclients) &&
                            allowed(&destaddr, tsig, view->matchdestinations) &&
                            !((client->message->flags & DNS_MESSAGEFLAG_RD)
@@ -1635,7 +1635,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
 
        ns_client_log(client, DNS_LOGCATEGORY_SECURITY, NS_LOGMODULE_CLIENT,
                      ISC_LOG_DEBUG(3), ra ? "recursion available" :
-                                            "recursion not available");
+                                            "recursion not available");
 
        /*
         * Dispatch the request.
@@ -1949,7 +1949,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
 
                if (ns_g_server->blackholeacl != NULL &&
                    dns_acl_match(&netaddr, NULL,
-                                 ns_g_server->blackholeacl,
+                                 ns_g_server->blackholeacl,
                                  &ns_g_server->aclenv,
                                  &match, NULL) == ISC_R_SUCCESS &&
                    match > 0)
@@ -2319,7 +2319,7 @@ ns_client_checkacl(ns_client_t *client,
        isc_result_t result =
                ns_client_checkaclsilent(client, acl, default_allow);
 
-       if (result == ISC_R_SUCCESS) 
+       if (result == ISC_R_SUCCESS)
                ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
                              NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
                              "%s approved", opname);
@@ -2375,16 +2375,16 @@ ns_client_log(ns_client_t *client, isc_logcategory_t *category,
 
 void
 ns_client_aclmsg(const char *msg, dns_name_t *name, dns_rdatatype_t type,
-                dns_rdataclass_t rdclass, char *buf, size_t len) 
+                dns_rdataclass_t rdclass, char *buf, size_t len)
 {
-        char namebuf[DNS_NAME_FORMATSIZE];
-        char typebuf[DNS_RDATATYPE_FORMATSIZE];
-        char classbuf[DNS_RDATACLASS_FORMATSIZE];
-
-        dns_name_format(name, namebuf, sizeof(namebuf));
-        dns_rdatatype_format(type, typebuf, sizeof(typebuf));
-        dns_rdataclass_format(rdclass, classbuf, sizeof(classbuf));
-        (void)snprintf(buf, len, "%s '%s/%s/%s'", msg, namebuf, typebuf,
+       char namebuf[DNS_NAME_FORMATSIZE];
+       char typebuf[DNS_RDATATYPE_FORMATSIZE];
+       char classbuf[DNS_RDATACLASS_FORMATSIZE];
+
+       dns_name_format(name, namebuf, sizeof(namebuf));
+       dns_rdatatype_format(type, typebuf, sizeof(typebuf));
+       dns_rdataclass_format(rdclass, classbuf, sizeof(classbuf));
+       (void)snprintf(buf, len, "%s '%s/%s/%s'", msg, namebuf, typebuf,
                       classbuf);
 }
 
@@ -2412,7 +2412,7 @@ ns_client_dumpmessage(ns_client_t *client, const char *reason) {
                        isc_mem_put(client->mctx, buf, len);
                        len += 1024;
                } else if (result == ISC_R_SUCCESS)
-                       ns_client_log(client, NS_LOGCATEGORY_UNMATCHED,
+                       ns_client_log(client, NS_LOGCATEGORY_UNMATCHED,
                                      NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(1),
                                      "%s\n%.*s", reason,
                                       (int)isc_buffer_usedlength(&buffer),
@@ -2432,7 +2432,7 @@ ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager) {
        const char *sep;
 
        REQUIRE(VALID_MANAGER(manager));
-             
+
        LOCK(&manager->lock);
        client = ISC_LIST_HEAD(manager->recursing);
        while (client != NULL) {
index 48b7ce080d4d88a38fe1830c18fdb0430bf10e52..a764a8743814c9ad911b1a4fe010227b833e8732 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2006-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: interfacemgr.c,v 1.59.2.5.8.21.4.1 2008/07/22 04:16:13 marka Exp $ */
+/* $Id: interfacemgr.c,v 1.59.2.5.8.21.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
@@ -83,7 +83,7 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
        mgr->generation = 1;
        mgr->listenon4 = NULL;
        mgr->listenon6 = NULL;
-       
+
        ISC_LIST_INIT(mgr->interfaces);
 
        /*
@@ -313,7 +313,7 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
                goto tcp_listen_failure;
        }
 
-       /* 
+       /*
         * If/when there a multiple filters listen to the
         * result.
         */
@@ -500,7 +500,7 @@ setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
        unsigned int prefixlen;
 
        family = interface->address.family;
-       
+
        elt.type = dns_aclelementtype_ipprefix;
        elt.negative = ISC_FALSE;
        elt.u.ip_prefix.address = interface->address;
@@ -651,7 +651,7 @@ do_scan(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
        {
                isc_interface_t interface;
                ns_listenlist_t *ll;
-               unsigned int family; 
+               unsigned int family;
 
                result = isc_interfaceiter_current(iter, &interface);
                if (result != ISC_R_SUCCESS)
@@ -827,7 +827,7 @@ do_scan(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
                UNEXPECTED_ERROR(__FILE__, __LINE__,
                                 "interface iteration failed: %s",
                                 isc_result_totext(result));
-       else 
+       else
                result = ISC_R_SUCCESS;
  cleanup_iter:
        isc_interfaceiter_destroy(&iter);
@@ -858,7 +858,7 @@ ns_interfacemgr_scan0(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
 
        /*
         * Warn if we are not listening on any interface, unless
-        * we're in lwresd-only mode, in which case that is to 
+        * we're in lwresd-only mode, in which case that is to
         * be expected.
         */
        if (ext_listen == NULL &&
index 9ddfd046eb75894c3ef539b9c8a692320a357eb9..74f0e9518f8b1d656009c77966576b388d6febdc 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) 2000-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: lwresd.c,v 1.37.2.2.2.8.14.1 2008/07/22 04:16:13 marka Exp $ */
+/* $Id: lwresd.c,v 1.37.2.2.2.8.14.2 2008/07/23 07:28:11 tbox Exp $ */
 
 /*
  * Main program for the Lightweight Resolver Daemon.
@@ -223,7 +223,7 @@ ns_lwresd_parseeresolvconf(isc_mem_t *mctx, cfg_parser_t *pctx,
                        for (i = 0; i < lwc->searchnxt; i++) {
                                CHECK(buffer_putstr(&b, "\t\t\""));
                                CHECK(buffer_putstr(&b, lwc->search[i]));
-                               CHECK(buffer_putstr(&b, "\";\n"));
+                               CHECK(buffer_putstr(&b, "\";\n"));
                        }
                        CHECK(buffer_putstr(&b, "\t};\n"));
                }
index 8f5c4ed1ab3f34a4c55598ea086b3baf0f6469f0..09420a020a3b454ce3e8470310502f4fab046752 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) 2000, 2001, 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: sig0_test.c,v 1.9.12.8.4.1 2008/07/22 04:16:13 marka Exp $ */
+/* $Id: sig0_test.c,v 1.9.12.8.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
index 2453ee1bb90b36e8cd69397383ae7ab7767e1e77..f0c43a0738351f7d5255767649924f806f710d03 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-2001, 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: sock_test.c,v 1.47.12.7.4.1 2008/07/22 04:16:13 marka Exp $ */
+/* $Id: sock_test.c,v 1.47.12.7.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
index fc5d0eaa94bb031d5488e2ccc113d353d8ef1fd3..6fb5177a69d625587e038432718e6c6d51d46f93 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2006-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: dispatch.c,v 1.101.2.6.2.21.4.3 2008/07/23 02:34:27 jinmei Exp $ */
+/* $Id: dispatch.c,v 1.101.2.6.2.21.4.4 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
@@ -727,7 +727,7 @@ udp_recv(isc_task_t *task, isc_event_t *ev_in) {
        isc_netaddr_fromsockaddr(&netaddr, &ev->address);
        if (disp->mgr->blackhole != NULL &&
            dns_acl_match(&netaddr, NULL, disp->mgr->blackhole,
-                         NULL, &match, NULL) == ISC_R_SUCCESS &&
+                         NULL, &match, NULL) == ISC_R_SUCCESS &&
            match > 0)
        {
                if (isc_log_wouldlog(dns_lctx, LVL(10))) {
@@ -780,7 +780,7 @@ udp_recv(isc_task_t *task, isc_event_t *ev_in) {
        if (resp == NULL) {
                free_buffer(disp, ev->region.base, ev->region.length);
                goto unlock;
-       } 
+       }
 
        /*
         * Now that we have the original dispatch the query was sent
@@ -790,7 +790,7 @@ udp_recv(isc_task_t *task, isc_event_t *ev_in) {
        if (disp != resp->disp) {
                isc_sockaddr_t a1;
                isc_sockaddr_t a2;
-               
+
                /*
                 * Check that the socket types and ports match.
                 */
@@ -803,11 +803,11 @@ udp_recv(isc_task_t *task, isc_event_t *ev_in) {
 
                /*
                 * If both dispatches are bound to an address then fail as
-                * the addresses can't be equal (enforced by the IP stack).  
+                * the addresses can't be equal (enforced by the IP stack).
                 *
                 * Note under Linux a packet can be sent out via IPv4 socket
                 * and the response be received via a IPv6 socket.
-                * 
+                *
                 * Requests sent out via IPv6 should always come back in
                 * via IPv6.
                 */
@@ -928,7 +928,7 @@ tcp_recv(isc_task_t *task, isc_event_t *ev_in) {
                switch (tcpmsg->result) {
                case ISC_R_CANCELED:
                        break;
-                       
+
                case ISC_R_EOF:
                        dispatch_log(disp, LVL(90), "shutting down on EOF");
                        do_cancel(disp);
@@ -2429,7 +2429,7 @@ dns_dispatch_importrecv(dns_dispatch_t *disp, isc_event_t *event) {
        newsevent->timestamp = sevent->timestamp;
        newsevent->pktinfo = sevent->pktinfo;
        newsevent->attributes = sevent->attributes;
-       
+
        isc_task_send(disp->task, ISC_EVENT_PTR(&newsevent));
 }
 
index 806ab880f3cc6b6b4c8929c1b491eafe84f7941c..e3495aaa361f267bb37bad172dc7f5db099079d0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 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: dispatch.h,v 1.45.2.2.4.5.4.1 2008/05/22 21:11:16 each Exp $ */
+/* $Id: dispatch.h,v 1.45.2.2.4.5.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #ifndef DNS_DISPATCH_H
 #define DNS_DISPATCH_H 1
@@ -185,7 +185,7 @@ dns_dispatchmgr_getblackhole(dns_dispatchmgr_t *mgr);
 
 void
 dns_dispatchmgr_setblackportlist(dns_dispatchmgr_t *mgr,
-                                 dns_portlist_t *portlist);
+                                dns_portlist_t *portlist);
 /*
  * Sets a list of UDP ports that won't be used when creating a udp
  * dispatch with a wildcard port.
@@ -365,7 +365,7 @@ dns_dispatch_removeresponse(dns_dispentry_t **resp,
  *     "resp" != NULL and "*resp" contain a value previously allocated
  *     by dns_dispatch_addresponse();
  *
- *     May only be called from within the task given as the 'task' 
+ *     May only be called from within the task given as the 'task'
  *     argument to dns_dispatch_addresponse() when allocating '*resp'.
  */
 
@@ -382,7 +382,7 @@ dns_dispatch_getsocket(dns_dispatch_t *disp);
  *     The socket the dispatcher is using.
  */
 
-isc_result_t 
+isc_result_t
 dns_dispatch_getlocaladdress(dns_dispatch_t *disp, isc_sockaddr_t *addrp);
 /*
  * Return the local address for this dispatch.
@@ -393,7 +393,7 @@ dns_dispatch_getlocaladdress(dns_dispatch_t *disp, isc_sockaddr_t *addrp);
  *     addrp to be non null.
  *
  * Returns:
- *     ISC_R_SUCCESS   
+ *     ISC_R_SUCCESS
  *     ISC_R_NOTIMPLEMENTED
  */
 
@@ -417,7 +417,7 @@ dns_dispatch_changeattributes(dns_dispatch_t *disp,
  *
  *     new = (old & ~mask) | (attributes & mask)
  *
- * This function has a side effect when DNS_DISPATCHATTR_NOLISTEN changes. 
+ * This function has a side effect when DNS_DISPATCHATTR_NOLISTEN changes.
  * When the flag becomes off, the dispatch will start receiving on the
  * corresponding socket.  When the flag becomes on, receive events on the
  * corresponding socket will be canceled.
index c8074aa59bfab8abdca2c7716b5c49daa8a8ec8f..6fe7b114ab047aac3421e8bc378c509ab8aac95e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2006-2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-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: request.c,v 1.64.2.1.10.12.4.1 2008/07/22 04:16:13 marka Exp $ */
+/* $Id: request.c,v 1.64.2.1.10.12.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
@@ -683,7 +683,7 @@ dns_request_createraw3(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf,
        REQUIRE(action != NULL);
        REQUIRE(requestp != NULL && *requestp == NULL);
        REQUIRE(timeout > 0);
-       if (srcaddr != NULL) 
+       if (srcaddr != NULL)
                REQUIRE(isc_sockaddr_pf(srcaddr) == isc_sockaddr_pf(destaddr));
 
        mctx = requestmgr->mctx;
@@ -731,7 +731,7 @@ dns_request_createraw3(dns_requestmgr_t *requestmgr, isc_buffer_t *msgbuf,
                result = DNS_R_FORMERR;
                goto cleanup;
        }
-               
+
        if ((options & DNS_REQUESTOPT_TCP) != 0 || r.length > 512)
                tcp = ISC_TRUE;
 
@@ -855,7 +855,7 @@ dns_request_createvia2(dns_requestmgr_t *requestmgr, dns_message_t *message,
                                       udpretries, task, action, arg,
                                       requestp));
 }
-                                       
+
 isc_result_t
 dns_request_createvia3(dns_requestmgr_t *requestmgr, dns_message_t *message,
                       isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr,
@@ -881,7 +881,7 @@ dns_request_createvia3(dns_requestmgr_t *requestmgr, dns_message_t *message,
        REQUIRE(action != NULL);
        REQUIRE(requestp != NULL && *requestp == NULL);
        REQUIRE(timeout > 0);
-       if (srcaddr != NULL) 
+       if (srcaddr != NULL)
                REQUIRE(isc_sockaddr_pf(srcaddr) == isc_sockaddr_pf(destaddr));
 
        mctx = requestmgr->mctx;
@@ -1135,7 +1135,7 @@ do_cancel(isc_task_t *task, isc_event_t *event) {
        if (!DNS_REQUEST_CANCELED(request))
                req_cancel(request);
        send_if_done(request, ISC_R_CANCELED);
-       UNLOCK(&request->requestmgr->locks[request->hash]);     
+       UNLOCK(&request->requestmgr->locks[request->hash]);
 }
 
 void
index 8017352fa0c82db7f06f1bafd56cdf7cbde39922..1953f3777c22aa01e4d501a93dbc18113c00e46b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-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: xfrin.c,v 1.124.2.4.2.21.4.1 2008/07/22 04:16:14 marka Exp $ */
+/* $Id: xfrin.c,v 1.124.2.4.2.21.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #include <config.h>
 
@@ -246,7 +246,7 @@ static isc_result_t
 axfr_init(dns_xfrin_ctx_t *xfr) {
        isc_result_t result;
 
-       xfr->is_ixfr = ISC_FALSE;
+       xfr->is_ixfr = ISC_FALSE;
 
        if (xfr->db != NULL)
                dns_db_detach(&xfr->db);
@@ -886,8 +886,8 @@ render(dns_message_t *msg, isc_mem_t *mctx, isc_buffer_t *buf) {
        CHECK(dns_message_renderend(msg));
        result = ISC_R_SUCCESS;
  failure:
-       if (cleanup_cctx)
-               dns_compress_invalidate(&cctx);
+       if (cleanup_cctx)
+               dns_compress_invalidate(&cctx);
        return (result);
 }
 
index 2a55804151a4897e30c92291c30ec96e3586f871..d7aee1d934f009dce945caaf357d21505fa1856b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1998-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: socket.h,v 1.54.12.7.4.1 2008/07/22 04:16:14 marka Exp $ */
+/* $Id: socket.h,v 1.54.12.7.4.2 2008/07/23 07:28:11 tbox Exp $ */
 
 #ifndef ISC_SOCKET_H
 #define ISC_SOCKET_H 1
index f2be9b9d31760336149c143699d3c9cb8e2420a6..082478f7251da3d77573e1e25128339e27304b0c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2008  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000-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: socket.c,v 1.5.2.13.2.24.4.1 2008/07/22 04:16:14 marka Exp $ */
+/* $Id: socket.c,v 1.5.2.13.2.24.4.2 2008/07/23 07:28:12 tbox Exp $ */
 
 /* This code has been rewritten to take advantage of Windows Sockets
  * I/O Completion Ports and Events. I/O Completion Ports is ONLY
@@ -498,7 +498,7 @@ iocompletionport_init(isc_socketmgr_t *manager) {
 
        /*
         * Worker threads for servicing the I/O
-        */
+        */
        iocompletionport_createthreads(manager->maxIOCPThreads, manager);
 }
 
@@ -653,7 +653,7 @@ socket_eventlist_add(event_change_t *evchange, sock_event_list *evlist,
  */
 isc_boolean_t
 socket_eventlist_delete(event_change_t *evchange, sock_event_list *evlist,
-                       isc_socketmgr_t *manager)
+                       isc_socketmgr_t *manager)
 {
        int i;
        WSAEVENT hEvent;
@@ -936,7 +936,7 @@ initialise(void) {
 void
 InitSockets(void) {
        RUNTIME_CHECK(isc_once_do(&initialise_once,
-                                  initialise) == ISC_R_SUCCESS);
+                                 initialise) == ISC_R_SUCCESS);
        if (!initialised)
                exit(1);
 }