simon-git: doit (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri Dec 14 19:07:50 GMT 2018
TL;DR:
2c7e897 doitclient: stop using perror() to report DNS errors.
Repository: https://git.tartarus.org/simon/doit.git
On the web: https://git.tartarus.org/?p=simon/doit.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-12-14 19:07:50
commit 2c7e89759c1a6ae8839c0c4ba70062d929d2ba60
web diff https://git.tartarus.org/?p=simon/doit.git;a=commitdiff;h=2c7e89759c1a6ae8839c0c4ba70062d929d2ba60;hp=861987c94d3098bd6ebb5add807efe09b3901b36
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Dec 14 19:06:28 2018 +0000
doitclient: stop using perror() to report DNS errors.
It doesn't work, because gethostbyname leaves its error code in
h_errno and not in errno. Setting DOIT_HOST to a nonexistent host name
therefore gave the absurd message 'host.name: Success'.
doitclient.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the tartarus-commits
mailing list