From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoXCD-0003NL-UQ for qemu-devel@nongnu.org; Mon, 17 Jun 2013 07:02:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoXCB-0007Sc-Bx for qemu-devel@nongnu.org; Mon, 17 Jun 2013 07:02:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoXCB-0007Rq-4B for qemu-devel@nongnu.org; Mon, 17 Jun 2013 07:01:59 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5HB1w4e032220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Jun 2013 07:01:58 -0400 Date: Mon, 17 Jun 2013 19:02:00 +0800 From: Fam Zheng Message-ID: <20130617110200.GA26067@localhost.nay.redhat.com> References: <1371463763-25628-1-git-send-email-famz@redhat.com> <20130617105413.GC1882@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130617105413.GC1882@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2] curl: refuse to open URL from HTTP server without range support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" Cc: Kevin Wolf , qemu-devel@nongnu.org, stefanha@redhat.com On Mon, 06/17 11:54, Richard W.M. Jones wrote: > On Mon, Jun 17, 2013 at 06:09:23PM +0800, Fam Zheng wrote: > > + if (real_size >= strlen(accept_len) > > What's accept_len? This patch gives me a couple of compile errors: > Oops, a copy&paste mistake. I meant this: + if (realsize >= strlen(accept_line) -- Fam