commit | 42be24af893c6605b15112e50f2516828ad9e24d | [log] [tgz] |
---|---|---|
author | Steve Holme <steve_holme@hotmail.com> | Tue Sep 13 22:19:47 2011 +0100 |
committer | Daniel Stenberg <daniel@haxx.se> | Sun Sep 18 13:24:58 2011 +0200 |
tree | 6fee4597a286cc52b45c0f052105e72bd54840a4 | |
parent | 260b0f4d0cdb7c0ce30b16ae9a4cb94de6b36537 [diff] |
Curl_gethostname: return un-qualified machine name Fixed Curl_gethostname() so that it always returns the un-qualified machine name rather than being dependent on the socket provider. Note: The return of getenv("CURL_GETHOSTNAME") is also parsed in case the developer / test harness provided a fully qualified domain name as it's value as well.