summaryrefslogtreecommitdiffstats
path: root/usr.bin/rup/rup.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:41:30 +0000
commita14d555c873398b14776ca4f2c33f9c69617afb9 (patch)
tree350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/rup/rup.c
parentf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (diff)
downloadFreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.zip
FreeBSD-src-a14d555c873398b14776ca4f2c33f9c69617afb9.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'usr.bin/rup/rup.c')
-rw-r--r--usr.bin/rup/rup.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/rup/rup.c b/usr.bin/rup/rup.c
index 0ae1be1..e248be1 100644
--- a/usr.bin/rup/rup.c
+++ b/usr.bin/rup/rup.c
@@ -32,7 +32,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: rup.c,v 1.3 1994/04/10 10:42:28 csgr Exp $";
+static char rcsid[] = "$Id: rup.c,v 1.1.1.1 1994/08/28 15:01:31 csgr Exp $";
#endif /* not lint */
#include <stdio.h>
@@ -61,7 +61,7 @@ struct host_list {
int search_host(struct in_addr addr)
{
struct host_list *hp;
-
+
if (!hosts)
return(0);
@@ -98,7 +98,7 @@ rstat_reply(char *replyp, struct sockaddr_in *raddrp)
if (search_host(raddrp->sin_addr))
return(0);
-
+
hp = gethostbyaddr((char *)&raddrp->sin_addr.s_addr,
sizeof(struct in_addr), AF_INET);
if (hp)
@@ -155,7 +155,7 @@ onehost(char *host)
statstime host_stat;
struct sockaddr_in addr;
struct hostent *hp;
-
+
hp = gethostbyname(host);
if (hp == NULL) {
fprintf(stderr, "%s: unknown host \"%s\"\n",
@@ -208,14 +208,14 @@ main(int argc, char *argv[])
argv0 = argv[0];
else
argv0++;
-
+
while ((ch = getopt(argc, argv, "?")) != -1)
switch (ch) {
default:
usage();
/*NOTREACHED*/
}
-
+
setlinebuf(stdout);
if (argc == optind)
allhosts();
OpenPOWER on IntegriCloud