View | Details | Raw Unified | Return to bug 2814 | Differences between
and this patch

Collapse All | Expand All

(-)a/sshconnect.c (-1 / +1 lines)
Lines 472-478 ssh_connect_direct(struct ssh *ssh, const char *host, struct addrinfo *aitop, Link Here
472
	/* Return failure if we didn't get a successful connection. */
472
	/* Return failure if we didn't get a successful connection. */
473
	if (sock == -1) {
473
	if (sock == -1) {
474
		error("ssh: connect to host %s port %s: %s",
474
		error("ssh: connect to host %s port %s: %s",
475
		    host, strport, strerror(errno));
475
		      host, strport, errno ? strerror(errno) : "Failure");
476
		return (-1);
476
		return (-1);
477
	}
477
	}
478
478

Return to bug 2814