]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove extraneous spaces before semicolons
authorMark Andrews <marka@isc.org>
Fri, 3 Oct 2003 06:12:34 +0000 (06:12 +0000)
committerMark Andrews <marka@isc.org>
Fri, 3 Oct 2003 06:12:34 +0000 (06:12 +0000)
lib/isc/base64.c
lib/isc/hex.c
lib/isc/random.c
lib/isc/unix/ifiter_ioctl.c
lib/isc/win32/socket.c
lib/isc/win32/syslog.c

index 131b2831ae1c12ef29cd9187f26c3bb1078f4978..c97bf86b54caf0632c594ee26500198a9bcbd6d4 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: base64.c,v 1.26 2003/04/17 06:04:13 marka Exp $ */
+/* $Id: base64.c,v 1.27 2003/10/03 06:12:33 marka Exp $ */
 
 #include <config.h>
 
@@ -191,7 +191,7 @@ isc_base64_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
                if (token.type != isc_tokentype_string)
                        break;
                tr = &token.value.as_textregion;
-               for (i = 0;i < tr->length; i++)
+               for (i = 0; i < tr->length; i++)
                        RETERR(base64_decode_char(&ctx, tr->base[i]));
        }
        if (ctx.length < 0 && !ctx.seen_end)
index 9ba472a847c23177e3d7aca4a0eec9473ca7611e..fb1bf17197fd0ba6704032c2e24640fc148e66f1 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: hex.c,v 1.12 2002/02/20 03:35:22 marka Exp $ */
+/* $Id: hex.c,v 1.13 2003/10/03 06:12:33 marka Exp $ */
 
 #include <config.h>
 
@@ -144,7 +144,7 @@ isc_hex_tobuffer(isc_lex_t *lexer, isc_buffer_t *target, int length) {
                if (token.type != isc_tokentype_string)
                        break;
                tr = &token.value.as_textregion;
-               for (i = 0;i < tr->length; i++)
+               for (i = 0; i < tr->length; i++)
                        RETERR(hex_decode_char(&ctx, tr->base[i]));
        }
        if (ctx.length < 0)
index 7e4588e9302f1e7a27496c08304868d2657ac013..921412db7508e897d0c06e9f22d044987162e777 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: random.c,v 1.19 2003/10/01 00:58:07 marka Exp $ */
+/* $Id: random.c,v 1.20 2003/10/03 06:12:33 marka Exp $ */
 
 #include <config.h>
 
@@ -82,7 +82,7 @@ isc_random_get(isc_uint32_t *val)
         * rand()'s lower bits are not random.
         * rand()'s upper bit is zero.
         */
-       *val = ((rand() >> 4) & 0xffff) | ((rand() << 12) & 0xffff0000) ;
+       *val = ((rand() >> 4) & 0xffff) | ((rand() << 12) & 0xffff0000);
 #else
        *val = arc4random();
 #endif
index 1b75bb073e88037ed7d38a191b04e809c55fb013..7f5c710b4ff8dbf4bd3558a93b9b657d4084b611 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: ifiter_ioctl.c,v 1.39 2003/05/11 02:24:11 marka Exp $ */
+/* $Id: ifiter_ioctl.c,v 1.40 2003/10/03 06:12:34 marka Exp $ */
 
 /*
  * Obtain the list of network interfaces using the SIOCGLIFCONF ioctl.
@@ -416,7 +416,7 @@ linux_if_inet6_current(isc_interfaceiter_t *iter) {
                return (ISC_R_FAILURE);
        if (strlen(address) != 32)
                return (ISC_R_FAILURE);
-       for (i = 0; i < 16 ; i++) {
+       for (i = 0; i < 16; i++) {
                unsigned char byte;
                static const char hex[] = "0123456789abcdef";
                byte = ((index(hex, address[i * 2]) - hex) << 4) |
@@ -430,7 +430,7 @@ linux_if_inet6_current(isc_interfaceiter_t *iter) {
                isc_netaddr_setzone(&iter->current.address,
                                    (isc_uint32_t)ifindex);
        }
-       for (i = 0; i < 16 ; i++) {
+       for (i = 0; i < 16; i++) {
                if (prefix > 8) {
                        addr6.s6_addr[i] = 0xff;
                        prefix -= 8;
index a4ddab245f3cd750324441504c853a0c34e1d5df..1bd4812ecb7c6e7ff7afdef13dcf3e0906d091c5 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.23 2003/09/11 01:49:17 marka Exp $ */
+/* $Id: socket.c,v 1.24 2003/10/03 06:12:34 marka Exp $ */
 
 /* This code has been rewritten to take advantage of Windows Sockets
  * I/O Completion Ports and Events. I/O Completion Ports is ONLY
@@ -912,7 +912,7 @@ internal_sendmsg(isc_socket_t *sock, IoCompletionInfo *lpo,
                        case WSA_IO_INCOMPLETE :
                        case WSA_WAIT_IO_COMPLETION :
                        case WSA_IO_PENDING :
-                               break ;
+                               break;
 
                        default :
                                return (-1);
@@ -957,7 +957,7 @@ internal_recvmsg(isc_socket_t *sock, IoCompletionInfo *lpo,
                        case WSA_IO_INCOMPLETE :
                        case WSA_WAIT_IO_COMPLETION :
                        case WSA_IO_PENDING :
-                                       break ;
+                                       break;
 
                        default :
                                        return (-1);
@@ -1294,7 +1294,7 @@ dump_msg(struct msghdr *msg, isc_socket_t *sock) {
        printf("MSGHDR %p, Socket #: %u\n", msg, sock->fd);
        printf("\tname %p, namelen %d\n", msg->msg_name, msg->msg_namelen);
        printf("\tiov %p, iovlen %d\n", msg->msg_iov, msg->msg_iovlen);
-       for (i = 0 ; i < (unsigned int)msg->msg_iovlen ; i++)
+       for (i = 0; i < (unsigned int)msg->msg_iovlen; i++)
                printf("\t\t%d\tbase %p, len %d\n", i,
                       msg->msg_iov[i].buf,
                       msg->msg_iov[i].len);
index 79f0e1ab2bc4be92ed8163d06de3295960ace7db..76f066cf5308dcd6bdfd7e1580e64c1375a2d09a 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: syslog.c,v 1.6 2002/08/03 01:34:14 mayer Exp $ */
+/* $Id: syslog.c,v 1.7 2003/10/03 06:12:34 marka Exp $ */
 
 #include <config.h>
 
@@ -78,7 +78,7 @@ isc_syslog_facilityfromstring(const char *str, int *facilityp) {
        REQUIRE(str != NULL);
        REQUIRE(facilityp != NULL);
 
-       for (i = 0 ; facilities[i].strval != NULL ; i++) {
+       for (i = 0; facilities[i].strval != NULL; i++) {
                if (strcasecmp(facilities[i].strval, str) == 0) {
                        *facilityp = facilities[i].val;
                        return (ISC_R_SUCCESS);
@@ -178,4 +178,4 @@ NTReportError(const char *name, const char *str) {
                    BIND_ERR_MSG, NULL, 1, 0, buf, NULL);
 
        DeregisterEventSource(hNTAppLog);
-}
\ No newline at end of file
+}