From bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org Sun Apr 20 17:28:36 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-dist==chris-lamb.co.uk@lists.debian.org>)
	id 1JncP1-0008Gz-5V
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 17:28:36 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 3687713A4F5F; Sun, 20 Apr 2008 16:28:30 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on liszt.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.0 required=4.0 tests=BAYES_00,MURPHY_DRUGS_REL8,
	RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3
X-Original-To: debian-bugs-dist@lists.debian.org
Delivered-To: lists-debian-bugs-dist@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id 03E9D13A4DF6;
	Sun, 20 Apr 2008 16:28:18 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JncNe-0002FD-4N; Sun, 20 Apr 2008 16:27:06 +0000
X-Loop: owner@bugs.debian.org
Subject: Bug#477036: mediatomb: FTBFS: ../src/url.cc:78:53: error: macro "curl_easy_setopt" requires 3 arguments, but only 2 given
Reply-To: Leonhard Wimmer <leo@mediatomb.cc>, 477036@bugs.debian.org
Resent-From: Leonhard Wimmer <leo@mediatomb.cc>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Andres Mejia <mcitadel@gmail.com>
Resent-Date: Sun, 20 Apr 2008 16:27:05 +0000
Resent-Message-ID: <handler.477036.B477036.12087086262013@bugs.debian.org>
X-Debian-PR-Message: followup 477036
X-Debian-PR-Package: mediatomb
X-Debian-PR-Keywords: 
X-Debian-PR-Source: mediatomb
Received: via spool by 477036-submit@bugs.debian.org id=B477036.12087086262013
          (code B ref 477036); Sun, 20 Apr 2008 16:27:05 +0000
Received: (at 477036) by bugs.debian.org; 20 Apr 2008 16:23:46 +0000
X-Amavis-Spam-Status: No, score=-7.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8 autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Received: from winf.htu.tuwien.ac.at ([128.131.95.2])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <leo@mediatomb.cc>)
	id 1JncKP-0000Vu-Tm
	for 477036@bugs.debian.org; Sun, 20 Apr 2008 16:23:46 +0000
X-Virus-Scanned: by amavisd-new & clamav at winf.at
Received: from [192.168.1.14] (chello062178039193.14.11.tuwien.teleweb.at [62.178.39.193])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by winf.htu.tuwien.ac.at (Postfix) with ESMTP
	for <477036@bugs.debian.org>; Sun, 20 Apr 2008 18:23:41 +0200 (CEST)
From: Leonhard Wimmer <leo@mediatomb.cc>
To: 477036@bugs.debian.org
In-Reply-To: <20080420135707.GA17380@xanadu.blop.info>
References: <20080420135707.GA17380@xanadu.blop.info>
Content-Type: multipart/mixed; boundary="=-FAqMPfK1KU6cTi2Ccdzb"
Date: Sun, 20 Apr 2008 18:23:40 +0200
Message-Id: <1208708620.6246.0.camel@x60leo>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1 
Resent-Date: Sun, 20 Apr 2008 16:27:06 +0000
X-Debian-Message: from BTS
X-Rc-Virus: 2007-09-13_01
X-Rc-Spam: 2007-10-04_01
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/343641
X-Loop: debian-bugs-dist@lists.debian.org
List-Id: <debian-bugs-dist.lists.debian.org>
List-Post: <mailto:debian-bugs-dist@lists.debian.org>
List-Help: <mailto:debian-bugs-dist-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-dist-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-dist-request@lists.debian.org
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -52.6
X-Spam-Report: (-52.6 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-50 D_FOR_BOT              For debian-devel-changes bot
	0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay lines
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]


--=-FAqMPfK1KU6cTi2Ccdzb
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

this bug is already fixed in current SVN code. Here's a patch.

greets, Leo

--=-FAqMPfK1KU6cTi2Ccdzb
Content-Disposition: attachment; filename=mediatomb_urlcc.patch
Content-Type: text/x-patch; name=mediatomb_urlcc.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: src/url.cc
===================================================================
--- src/url.cc	(revision 1714)
+++ src/url.cc	(revision 1775)
@@ -75,7 +75,7 @@
 
     if (only_header)
     {
-        curl_easy_setopt(curl_handle, CURLOPT_NOBODY);
+        curl_easy_setopt(curl_handle, CURLOPT_NOBODY, 1);
         curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, URL::dl);
         curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, 
                          (void *)buffer.getPtr());

--=-FAqMPfK1KU6cTi2Ccdzb--




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


