diff options
author | brian <brian@FreeBSD.org> | 1997-12-17 00:26:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-17 00:26:58 +0000 |
commit | c3425c102228a2213d8e03abae41cd07b16e347f (patch) | |
tree | 85b6c6c89d95f33a97342889db3aa8c5f2d5ccd5 /usr.sbin/pppctl/pppctl.c | |
parent | 7328b8cd51418a040e797d192d46f98defddfa26 (diff) | |
download | FreeBSD-src-c3425c102228a2213d8e03abae41cd07b16e347f.zip FreeBSD-src-c3425c102228a2213d8e03abae41cd07b16e347f.tar.gz |
Remove an unnecessary (and wrong) cast.
Diffstat (limited to 'usr.sbin/pppctl/pppctl.c')
-rw-r--r-- | usr.sbin/pppctl/pppctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c index b6336eb..3eaaaeb 100644 --- a/usr.sbin/pppctl/pppctl.c +++ b/usr.sbin/pppctl/pppctl.c @@ -1,5 +1,5 @@ /* - * $Id$ + * $Id: pppctl.c,v 1.10 1997/11/18 00:22:07 brian Exp $ */ #include <sys/types.h> @@ -240,7 +240,7 @@ main(int argc, char **argv) hlen = strlen(host); if (strspn(host, "0123456789.") == hlen) { - if (!inet_aton(host, (struct in_addr *)&ifsin.sin_addr.s_addr)) { + if (!inet_aton(host, &ifsin.sin_addr)) { fprintf(stderr, "Cannot translate %s\n", host); return 1; } |