diff options
author | steve <steve@FreeBSD.org> | 1999-12-29 16:32:31 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-29 16:32:31 +0800 |
commit | 76b066f9659679e3ad688171cc9bb2d9b61294c2 (patch) | |
tree | 9f03391c9618580182d5a6279dfc8a838f6212ee /mail/popper | |
parent | eb9998bde984da468b5e97fd7d4c93625c2326b2 (diff) | |
download | freebsd-ports-gnome-76b066f9659679e3ad688171cc9bb2d9b61294c2.tar.gz freebsd-ports-gnome-76b066f9659679e3ad688171cc9bb2d9b61294c2.tar.zst freebsd-ports-gnome-76b066f9659679e3ad688171cc9bb2d9b61294c2.zip |
Better error message when the connecting client's IP address is
unresolvable.
PR: 12618
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'mail/popper')
-rw-r--r-- | mail/popper/files/patch-am | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mail/popper/files/patch-am b/mail/popper/files/patch-am new file mode 100644 index 000000000000..f776dcf43056 --- /dev/null +++ b/mail/popper/files/patch-am @@ -0,0 +1,34 @@ +--- pop_init.c.orig Thu Jul 9 19:44:07 1998 ++++ pop_init.c Mon Jul 12 22:56:01 1999 +@@ -237,4 +237,4 @@ + pop_log(p,POP_PRIORITY, +- "Unable to open trace file \"%s\", err = %d", +- optarg,errno); ++ "Unable to open trace file \"%s\": ", ++ optarg, strerror(errno)); + exit(1); +@@ -268,3 +268,4 @@ + pop_log(p,POP_PRIORITY, +- "Unable to obtain socket and address of client, err = %d",errno); ++ "Unable to obtain socket and address of client: %s", ++ strerror(errno)); + exit(1); +@@ -283,4 +284,4 @@ + pop_log(p,POP_PRIORITY, +- "(v%s) Unable to get canonical name of client, err = %d", +- VERSION, errno); ++ "(v"VERSION") Unable to get canonical name of client %s: %s", ++ p->ipaddr, hstrerror(h_errno)); + p->client = p->ipaddr; +@@ -362,3 +363,4 @@ + pop_log(p,POP_PRIORITY, +- "Unable to open communication stream for input, err = %d",errno); ++ "Unable to open communication stream for input: ", ++ strerror(errno)); + exit (1); +@@ -369,3 +371,4 @@ + pop_log(p,POP_PRIORITY, +- "Unable to open communication stream for output, err = %d",errno); ++ "Unable to open communication stream for output: ", ++ strerror(errno)); + exit (1); |