diff options
author | Steve Holme <steve_holme@hotmail.com> | 2011-09-19 20:55:56 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-09-25 23:59:53 +0200 |
commit | 5801ddb85cc26dea10f73246b364d8cc52557372 (patch) | |
tree | 651f537be45de2b7b8507fb1d1ebb850a2b36a12 /lib/inet_ntop.c | |
parent | 38b5744266f805f3dd6d9486ba323f99ab420d52 (diff) |
Curl_ntlm_create_type3_message: Tidied up the use of Curl_gethostname.
Removed the code that striped off the domain name when Curl_gethostname
returned the fully qualified domain name as the function has been
updated to return the un-qualified host name.
Replaced the use of HOSTNAME_MAX as the size of the buffer in the call
to Curl_gethostname with sizeof(host) as this is safer should the buffer
size ever be changed.
Diffstat (limited to 'lib/inet_ntop.c')
0 files changed, 0 insertions, 0 deletions