diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-05-07 20:02:52 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2000-05-07 20:02:52 +0000 |
| commit | 807c941c90bd51893a26af883a71167166d8cec6 (patch) | |
| tree | 259f5b89bcc993e40702aec9bb421815b49cf8ee /lib/libfetch/common.c | |
| parent | e6182307e80c9b90c02bff8161456abbb6e46d01 (diff) | |
Notes
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 ed5072ce1c3c..11b947c2efe6 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); |
