From owner-freebsd-arch Mon May 15 1:16:22 2000 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 9585837B9A0 for ; Mon, 15 May 2000 01:16:18 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id KAA45274; Mon, 15 May 2000 10:16:06 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: Hajimu UMEMOTO (=?iso-2022-jp?b?GyRCR19LXBsoQiAbJEJIJRsoQg==?=) Cc: ben@scientia.demon.co.uk, arch@FreeBSD.org Subject: Re: fetch(1) References: <20000514152427.Q10128@strontium.scientia.demon.co.uk> <200005141931.e4EJVwF65961@peace.mahoroba.org> From: Dag-Erling Smorgrav Date: 15 May 2000 10:16:05 +0200 In-Reply-To: Hajimu UMEMOTO's message of "Mon, 15 May 2000 04:31:58 +0900 (JST)" Message-ID: Lines: 23 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hajimu UMEMOTO (梅本 肇) 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