From c3425c102228a2213d8e03abae41cd07b16e347f Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 17 Dec 1997 00:26:58 +0000 Subject: Remove an unnecessary (and wrong) cast. --- usr.sbin/pppctl/pppctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pppctl') 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 @@ -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; } -- cgit v1.1