cURL / Mailing Lists / curl-library / Single Mail



From: Gisle Vanem <>
Date: Fri, 08 Feb 2013 12:15:25 +0100

This is AFAICS the only test program in this directory that doesn't
call curl_global_init(). This function is needed for Curl_gethostname()
to work on Windows at least.

Besides it does a case-sensitive string compare of 'argv[1]' and return
buffer from Curl_gethostname(). Aren't hostnames always compared
with curl_str[n]equal() other places (case-insensitive)?

The "LD_PRELOAD failed" message seems too *nix centric too.

My suggested patch is attached. Patching should be easy,
but not my cup of tea.


List admin:

Received on 2013-02-08