diff options
author | Daniel Stenberg <daniel@haxx.se> | 2013-06-23 20:25:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-06-23 20:25:38 +0200 |
commit | ad47d8e263939a813683ca6a3662e7745428716c (patch) | |
tree | 953a21aa485351679db278a58c5503e3065a60d4 /tests/data/test1901 | |
parent | 8a7a277c086199b37c07a8e01165168037866f3e (diff) |
c-ares: improve error message on failed resolve
When the c-ares based resolver backend failed to resolve a name, it
tried to show the name that failed from existing structs. This caused
the wrong output and shown hostname when for example --interface
[hostname] was used and that name resolving failed.
Now we use the hostname used in the actual resolve attempt in the error
message as well.
Bug: http://curl.haxx.se/bug/view.cgi?id=1191
Reported-by: Kim Vandry
Diffstat (limited to 'tests/data/test1901')
0 files changed, 0 insertions, 0 deletions