curl-library
Re: lib/strcase.c refactoring
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Nov 2016 00:33:52 +0100 (CET)
Date: Wed, 2 Nov 2016 00:33:52 +0100 (CET)
On Tue, 1 Nov 2016, Daniel Stenberg wrote:
> We can easily avoid the toupper call and frankly simplify that function at
> the same time by instead simply using strtol(). Something like this:
What the heck, I decided that solution is better than what was there so I
pushed it. Hopefully it also improves the build situation.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-11-02