bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] http.c code cleaning


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] http.c code cleaning
Date: Wed, 08 May 2013 23:28:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Dmitry Bogatov <address@hidden> writes:

> -      meth = opt.method;
> +      {
> +        char *q;
> +        for (q = opt.method; *q; ++q)
> +          *q = c_toupper (*q);
> +        meth = opt.method;
> +      }

this code should go.  Now you can assume opt.method is already uppercase
as this is already enforced in cmd_string_uppercase (init.c).

Please take a look at the commit 550457.

-- 
Giuseppe



reply via email to

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