Date: 15 May 2000 10:16:05 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Hajimu UMEMOTO (=?iso-2022-jp?b?GyRCR19LXBsoQiAbJEJIJRsoQg==?=) <ume@mahoroba.org> Cc: ben@scientia.demon.co.uk, arch@FreeBSD.org Subject: Re: fetch(1) Message-ID: <xzpem74i5yy.fsf@flood.ping.uio.no> In-Reply-To: Hajimu UMEMOTO's message of "Mon, 15 May 2000 04:31:58 %2B0900 (JST)" References: <xzpbt2djcj4.fsf@flood.ping.uio.no> <20000514152427.Q10128@strontium.scientia.demon.co.uk> <200005141931.e4EJVwF65961@peace.mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO (梅本 肇) <ume@mahoroba.org> writes:
> Index: libfetch/fetch.c
> diff -u libfetch/fetch.c.orig libfetch/fetch.c
> --- libfetch/fetch.c.orig Fri May 12 01:35:25 2000
> +++ libfetch/fetch.c Mon May 15 04:02:11 2000
> @@ -69,13 +69,18 @@
> FILE *
> fetchGet(struct url *URL, char *flags)
> {
> + int direct = (flags && strchr(flags, 'd'));
> +
Please separate the initialization from the declaration:
int direct;
direct = (flags && strchr(flags, 'd'));
The rest is fine.
DES
--
Dag-Erling Smorgrav - des@flood.ping.uio.no
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpem74i5yy.fsf>
