]> granicus.if.org Git - mutt/commit
use gethostname() to determine the system host name
authorMichael Elkins <me@sigpipe.org>
Wed, 10 Apr 2013 23:40:18 +0000 (23:40 +0000)
committerMichael Elkins <me@sigpipe.org>
Wed, 10 Apr 2013 23:40:18 +0000 (23:40 +0000)
commit001bc020604322d38414291400d6d978001c1f06
tree1b6e0c977a50f4c0b13bc97f3105225bd7d5eec4
parent564787560c432d02dfc311ec3489f227d2a56abb
use gethostname() to determine the system host name

use getaddrinfo() to look up canonical DNS name, and fall back to hinting from /etc/resolv.conf

see #3298
getdomain.c
init.c