[exim-cvs] Clarify error message for host-connect fail. Bug…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Exim Git Commits Mailing List
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] Clarify error message for host-connect fail. Bug 1505
Gitweb: http://git.exim.org/exim.git/commitdiff/a9764ac59781eec7ec4d0099d6c849059f7efc42
Commit:     a9764ac59781eec7ec4d0099d6c849059f7efc42
Parent:     a805c12a5067af2e00736d48000614afbc00d866
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Sep 16 16:58:04 2014 +0100
Committer:  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;