diff options
author | des <des@FreeBSD.org> | 2000-05-07 20:02:52 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-05-07 20:02:52 +0000 |
commit | 0ee0a9878bdb7b86f331fdd3fb15fcc3ccec676d (patch) | |
tree | bb215a091c8bd5e21001cbdcefc6616a30185d58 /lib/libfetch/common.c | |
parent | 58fa435eca3fde7a5dd665c01fded46eb7e9735f (diff) | |
download | FreeBSD-src-0ee0a9878bdb7b86f331fdd3fb15fcc3ccec676d.zip FreeBSD-src-0ee0a9878bdb7b86f331fdd3fb15fcc3ccec676d.tar.gz |
Use sizeof more consistently.
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r-- | lib/libfetch/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index ed5072c..11b947c 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -223,7 +223,7 @@ _fetch_connect(char *host, int port, int verbose) _fetch_info("connecting to %s:%d", host, port); /* set up socket address structure */ - bzero(&sin, sizeof(sin)); + bzero(&sin, sizeof sin); bcopy(he->h_addr, (char *)&sin.sin_addr, he->h_length); sin.sin_family = he->h_addrtype; sin.sin_port = htons(port); |