Bugzilla – Attachment 3106 Details for
Bug 2814
Connection error should report failure instead of success
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested diff
fixerror.diff (text/plain), 464 bytes, created by
Mike Manning
on 2017-12-20 05:38:32 AEDT
(
hide
)
Description:
Suggested diff
Filename:
MIME Type:
Creator:
Mike Manning
Created:
2017-12-20 05:38:32 AEDT
Size:
464 bytes
patch
obsolete
>diff --git a/sshconnect.c b/sshconnect.c >index 4497770..b13db1c 100644 >--- a/sshconnect.c >+++ b/sshconnect.c >@@ -472,7 +472,7 @@ ssh_connect_direct(struct ssh *ssh, const char *host, struct addrinfo *aitop, > /* Return failure if we didn't get a successful connection. */ > if (sock == -1) { > error("ssh: connect to host %s port %s: %s", >- host, strport, strerror(errno)); >+ host, strport, errno ? strerror(errno) : "Failure"); > return (-1); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2814
:
3106
|
3108