cURL / Mailing Lists / curl-library / Single Mail

curl-library

tld_check_name and IDNA

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 14 Dec 2005 10:16:51 -0800

I've added a curl autobuild with the lcc compiler, and it came up with a
warning on the use of tld_check_name() in fix_hostname() in url.c that looks
like it might be a problem. tld_check_name() returns a bool, has one const
parameter and one non-const parameter that is used only incidentally,
and doesn't appear to have any side effects. It is called once but
the returned value is ignored, so I don't see that it ends up doing anything
useful. What is it supposed to be doing?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-12-14