mirror of
https://github.com/mirror/wget.git
synced 2025-03-27 20:40:27 +08:00
* src/iri.c (do_conversion): Remove unneeded debug lines
This commit is contained in:
parent
a220ead435
commit
562eacb76a
@ -152,11 +152,8 @@ do_conversion (const char *tocode, const char *fromcode, char const *in_org, siz
|
|||||||
*out = s = xmalloc (outlen + 1);
|
*out = s = xmalloc (outlen + 1);
|
||||||
done = 0;
|
done = 0;
|
||||||
|
|
||||||
DEBUGP (("iconv %s -> %s\n", tocode, fromcode));
|
|
||||||
|
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
DEBUGP (("iconv outlen=%d inlen=%d\n", outlen, inlen));
|
|
||||||
if (iconv (cd, (ICONV_CONST char **) &in, &inlen, out, &outlen) != (size_t)(-1) &&
|
if (iconv (cd, (ICONV_CONST char **) &in, &inlen, out, &outlen) != (size_t)(-1) &&
|
||||||
iconv (cd, NULL, NULL, out, &outlen) != (size_t)(-1))
|
iconv (cd, NULL, NULL, out, &outlen) != (size_t)(-1))
|
||||||
{
|
{
|
||||||
@ -191,8 +188,6 @@ do_conversion (const char *tocode, const char *fromcode, char const *in_org, siz
|
|||||||
}
|
}
|
||||||
else if (errno == E2BIG) /* Output buffer full */
|
else if (errno == E2BIG) /* Output buffer full */
|
||||||
{
|
{
|
||||||
logprintf (LOG_VERBOSE,
|
|
||||||
_("Reallocate output buffer len=%d outlen=%d inlen=%d\n"), len, outlen, inlen);
|
|
||||||
tooshort++;
|
tooshort++;
|
||||||
done = len;
|
done = len;
|
||||||
len = done + inlen * 2;
|
len = done + inlen * 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user