]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix typos in variable names
authorMark Andrews <marka@isc.org>
Wed, 10 Oct 2012 02:10:07 +0000 (13:10 +1100)
committerMark Andrews <marka@isc.org>
Wed, 10 Oct 2012 02:10:07 +0000 (13:10 +1100)
lib/isc/unix/socket.c

index 9478340616e0b5b885f726b6b264607e0172c161..da9d82608afd4cdb4275e08cade8c2d4904bef5f 100644 (file)
@@ -627,7 +627,7 @@ enum {
        STATID_RECVFAIL = 9,
        STATID_ACTIVE = 10
 };
-static const isc_statscounter_t upd4statsindex[] = {
+static const isc_statscounter_t udp4statsindex[] = {
        isc_sockstatscounter_udp4open,
        isc_sockstatscounter_udp4openfail,
        isc_sockstatscounter_udp4close,
@@ -640,7 +640,7 @@ static const isc_statscounter_t upd4statsindex[] = {
        isc_sockstatscounter_udp4recvfail,
        isc_sockstatscounter_udp4active
 };
-static const isc_statscounter_t upd6statsindex[] = {
+static const isc_statscounter_t udp6statsindex[] = {
        isc_sockstatscounter_udp6open,
        isc_sockstatscounter_udp6openfail,
        isc_sockstatscounter_udp6close,
@@ -2601,7 +2601,7 @@ socket_create(isc_socketmgr_t *manager0, int pf, isc_sockettype_t type,
        switch (sock->type) {
        case isc_sockettype_udp:
                sock->statsindex =
-                       (pf == AF_INET) ? upd4statsindex : upd6statsindex;
+                       (pf == AF_INET) ? udp4statsindex : udp6statsindex;
                break;
        case isc_sockettype_tcp:
                sock->statsindex =