curl-library
[lbernadt@cathaia.com: Bug#167678: libcurl2: debug output even if verbose not set]
Date: Tue, 5 Nov 2002 11:13:13 +0100
oooops... :)
----- Forwarded message from Lehel Bernadt <lbernadt_at_cathaia.com> -----
Date: Mon, 04 Nov 2002 10:59:43 +0100
From: "Lehel Bernadt" <lbernadt_at_cathaia.com>
To: "Debian Bug Tracking System" <submit_at_bugs.debian.org>
Reply-To: "Lehel Bernadt" <lbernadt_at_cathaia.com>, 167678_at_bugs.debian.org
Subject: Bug#167678: libcurl2: debug output even if verbose not set
Package: libcurl2
Version: 7.10.1-1
Severity: normal
Tags: patch
At one point in lib/sendf.c the check for CURLOPT_VERBOSE is missing
before writing out debug info
*****begin_patch*****
--- sendf.c 2002-10-11 14:57:08.000000000 +0200
+++ /root/deb/src/curl-7.10.1/lib/sendf.c 2002-11-01 13:24:34.000000000 +0100
@@ -154,6 +154,7 @@
vsnprintf(data->set.errorbuffer, CURL_ERROR_SIZE, fmt, ap);
data->state.errorbuf = TRUE; /* wrote error string */
+ if(data->set.verbose)
Curl_debug(data, CURLINFO_TEXT, data->set.errorbuffer,
strlen(data->set.errorbuffer));
}
******end_patch******
...
----- End forwarded message -----
-----[ Domenico Andreoli, aka cavok
--[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-05