#3298: Mutt's way to get the FQDN is broken
---------------------+----------------------
Reporter: vinc17 | Owner: mutt-dev
Type: defect | Status: closed
Priority: major | Milestone:
Component: mutt | Version: 1.5.20
Resolution: fixed | Keywords:
---------------------+----------------------
Changes (by Derek Martin <code@…>):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"ce71d168c819af4eacdbc36166d3f5db2fa08946"]:
{{{
#!CommitTicketReference repository=""
revision="ce71d168c819af4eacdbc36166d3f5db2fa08946"
Improve method of determining FQDN. (closes #3298)
Rather than reading /etc/resolv.conf, use gethostname() and
getaddrinfo() to get the canonical domain.
Thanks to Vincent Lefèvre for the memory leak fix.
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3298#comment:39>
Mutt <http://www.mutt.org/>
The Mutt mail user agent