[exim-dev] [Bug 1505] Misleading message "clamd: failed to c…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Git Commit
Datum:  
To: exim-dev
Alte Treads: [exim-dev] [Bug 1505] New: Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused"
Betreff: [exim-dev] [Bug 1505] Misleading message "clamd: failed to connect to 127.0.0.1: couldn't connect to any host: Connection refused"
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1505

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???





--- Comment #3 from Git Commit <git@???> 2014-09-25 19:17:06 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/a9764ac59781eec7ec4d0099d6c849059f7efc42

commit a9764ac59781eec7ec4d0099d6c849059f7efc42
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Sep 16 16:58:04 2014 +0100
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Thu Sep 25 18:40:10 2014 +0100


    Clarify error message for host-connect fail.  Bug 1505
---
 src/src/ip.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/src/ip.c b/src/src/ip.c
index b492b9d..ca5ca9b 100644
--- a/src/src/ip.c
+++ b/src/src/ip.c
@@ -346,8 +346,8 @@ for (h = &shost; h != NULL; h = h->next)
       }
   }


-*errstr = string_sprintf("failed to connect to %s: "
- "couldn't connect to any host: %s", hostname, strerror(errno));
+*errstr = string_sprintf("failed to connect to any address for %s: %s",
+ hostname, strerror(errno));

bad:
close(fd4); close(fd6); return -1;


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email