summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named/db_dump.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 03:57:47 +0000
commit4f960dd75f181e9fa2edc44324f15f0ab5c64b37 (patch)
tree15a9c7203efd47ba6dde2896fdb6327dddd4547f /usr.sbin/named/db_dump.c
parent30ef9631c5eac7f8254bd3d7ad274d34d9f518b8 (diff)
downloadFreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.zip
FreeBSD-src-4f960dd75f181e9fa2edc44324f15f0ab5c64b37.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.sbin/named/db_dump.c')
-rw-r--r--usr.sbin/named/db_dump.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.sbin/named/db_dump.c b/usr.sbin/named/db_dump.c
index 3c9b5a4..2501f2d 100644
--- a/usr.sbin/named/db_dump.c
+++ b/usr.sbin/named/db_dump.c
@@ -1,6 +1,6 @@
#if !defined(lint) && !defined(SABER)
static char sccsid[] = "@(#)db_dump.c 4.33 (Berkeley) 3/3/91";
-static char rcsid[] = "$Id: db_dump.c,v 1.1.1.1 1994/09/22 19:46:10 pst Exp $";
+static char rcsid[] = "$Id: db_dump.c,v 1.2 1994/09/22 20:45:00 pst Exp $";
#endif /* not lint */
/*
@@ -8,7 +8,7 @@ static char rcsid[] = "$Id: db_dump.c,v 1.1.1.1 1994/09/22 19:46:10 pst Exp $";
* -
* Copyright (c) 1986, 1988, 1990
* The Regents of the University of California. All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -24,7 +24,7 @@ static char rcsid[] = "$Id: db_dump.c,v 1.1.1.1 1994/09/22 19:46:10 pst Exp $";
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -38,14 +38,14 @@ static char rcsid[] = "$Id: db_dump.c,v 1.1.1.1 1994/09/22 19:46:10 pst Exp $";
* SUCH DAMAGE.
* -
* Portions Copyright (c) 1993 by Digital Equipment Corporation.
- *
+ *
* Permission to use, copy, modify, and 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, and that
* the name of Digital Equipment Corporation not be used in advertising or
* publicity pertaining to distribution of the document or software without
* specific, written prior permission.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS" AND DIGITAL EQUIPMENT CORP. DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL DIGITAL EQUIPMENT
@@ -259,7 +259,7 @@ doadump()
}
#ifdef ALLOW_UPDATES
-/* Create a disk database to back up zones
+/* Create a disk database to back up zones
*/
void
zonedump(zp)
@@ -554,12 +554,12 @@ db_dump(htp, fp, zone, origin)
break;
case T_WKS:
- GETLONG(addr, cp);
- addr = htonl(addr);
+ GETLONG(addr, cp);
+ addr = htonl(addr);
fprintf(fp, "%s ",
inet_ntoa(*(struct in_addr *)&addr));
proto = protocolname(*cp);
- cp += sizeof(char);
+ cp += sizeof(char);
fprintf(fp, "%s ", proto);
i = 0;
while(cp < (u_char *)dp->d_data + dp->d_size) {
@@ -570,7 +570,7 @@ db_dump(htp, fp, zone, origin)
servicename(i, proto));
j <<= 1;
} while (++i & 07);
- }
+ }
break;
case T_MINFO:
@@ -702,8 +702,8 @@ static int32_t Ceor, Csum, Crot, word, bcount;
#define AddToBuf(bufp, c) **bufp = c; (*bufp)++;
#define times85(x) ((((((x<<2)+x)<<2)+x)<<2)+x)
-/* Decode ASCII-encoded byte c into binary representation and
- * place into *bufp, advancing bufp
+/* Decode ASCII-encoded byte c into binary representation and
+ * place into *bufp, advancing bufp
*/
static int
byte_atob(c, bufp)
@@ -831,8 +831,8 @@ byte_btoa(c, bufp)
} else {
register int tmp = 0;
register int32_t tmpword = word;
-
- if (tmpword < 0) {
+
+ if (tmpword < 0) {
/* Because some don't support unsigned long */
tmp = 32;
tmpword -= (int32_t)(85 * 85 * 85 * 85 * 32);
OpenPOWER on IntegriCloud