diff options
author | Steve Holme <steve_holme@hotmail.com> | 2011-09-13 22:19:47 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-09-18 13:24:58 +0200 |
commit | 42be24af893c6605b15112e50f2516828ad9e24d (patch) | |
tree | 6fee4597a286cc52b45c0f052105e72bd54840a4 /tests/server | |
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.
Diffstat (limited to 'tests/server')
0 files changed, 0 insertions, 0 deletions