cURL / Mailing Lists / curl-library / Single Mail

curl-library

url.c: setting password

From: Jean-Philippe Barrette-LaPierre <jpbl_at_ygingras.net>
Date: Thu, 7 Mar 2002 19:56:54 -0500

if I supply a NULL password callback (by CURLOPT_PASSWDFUNCTION and
CURLOPT_PASSWDDATA) it doesn't return an error (I suppose if for ressetting
the default callback).

but if a supply an empty password, and then performing the curl, it tell me
CURLE_BAD_PASSWORD_ENTERED.

Why don't you set a human readable error message for the
CURLE_BAD_PASSWORD_ENTERED (line 1463 in lib/url.c in version 7.9.5) ?
And why are you permitting to set an empty callback, if it's not to resseting
the default?

Jean-Philippe Barrette-LaPierre
Programmeur-Analyste
ProgSo Technologies
(www.progso.com)
Received on 2002-03-08