From: Richard Russon Date: Thu, 23 Nov 2017 20:25:48 +0000 (+0000) Subject: add logging around getaddrinfo() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90383e3ffe0e5258511de926d024d3a8ee8a066c;p=neomutt add logging around getaddrinfo() If the user's networking isn't set up correctly, this call can potentially take several seconds to timeout. --- diff --git a/conn/getdomain.c b/conn/getdomain.c index e9540107c..6418b5190 100644 --- a/conn/getdomain.c +++ b/conn/getdomain.c @@ -99,7 +99,9 @@ int getdnsdomainname(char *d, size_t len) #else /* !HAVE_GETADDRINFO_A */ + mutt_debug(3, "before getaddrinfo\n"); getaddrinfo(node, NULL, &hints, &h); + mutt_debug(3, "after getaddrinfo\n"); #endif