bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Fix const usage in iri.c


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] Fix const usage in iri.c
Date: Fri, 10 Apr 2015 10:25:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Ángel González <address@hidden> writes:

> @@ -135,8 +135,7 @@ do_conversion (const char *tocode, const char *fromcode, 
> char *in, size_t inlen,
>      }
>  
>    /* iconv() has to work on an unescaped string */
> -  in_org = in;
> -  in_save = in = xstrndup(in, inlen);
> +  in_save = in = xstrndup(in_org, inlen);

Thanks, pushed after tweaking the above line to have a space after
"xstrndup".

Regards,
Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]