Commit 7f18bb8a authored by Niels Möller's avatar Niels Möller

(init_client_options): Initialize port to NULL, in

order to get the fallback from "ssh" -> 22 to work.

Rev: src/client.c:
parent 6d0c56c7
......@@ -416,7 +416,7 @@ init_client_options(struct client_options *self,
self->exit_code = exit_code;
self->not = 0;
self->port = "ssh";
self->port = NULL;
self->remote = NULL;
self->local_user = self->user = getenv("LOGNAME");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment