diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-09-21 10:52:08 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-09-21 10:52:08 +0000 |
commit | 330d0365531e63bd8fb86c3df7e96f6667748242 (patch) | |
tree | 13be8d34c0fd26db3d67ea7222ae51d4ad14936c | |
parent | 2502b11c42dd0a19715723c102c52713ef8ad351 (diff) | |
download | fetchmail-330d0365531e63bd8fb86c3df7e96f6667748242.tar.gz fetchmail-330d0365531e63bd8fb86c3df7e96f6667748242.tar.bz2 fetchmail-330d0365531e63bd8fb86c3df7e96f6667748242.zip |
Revise error messages, suggested by Thomas Wolff.
svn path=/trunk/; revision=4306
-rw-r--r-- | socket.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -278,8 +278,10 @@ int SockOpen(const char *host, const char *service, i = getaddrinfo(host, service, &req, &ai0); if (i) { - report(stderr, GT_("fetchmail: getaddrinfo(\"%s\",\"%s\") error: %s\n"), + report(stderr, GT_("getaddrinfo(\"%s\",\"%s\") error: %s\n"), host, service, gai_strerror(i)); + if (i == EAI_SERVICE) + report(stderr, GT_("Try adding the --port option, see FAQ item R12.\n")); return -1; } |