Commit 908f5ef6 authored by Niels Möller's avatar Niels Möller

(client_argp_parser): Fixed port error message not to try printing

NULL. FIXED in head branch as well.

Rev: src/client.c:1.111.2.3
parent b96c9434
......@@ -887,7 +887,8 @@ client_argp_parser(int key, char *arg, struct argp_state *state)
options->remote = make_address_info_c(arg, "ssh", 22);
if (!options->remote)
argp_error(state, "Invalid port or service '%s'.", options->port);
argp_error(state, "Invalid port or service '%s'.",
options->port ? options->port : "22");
break;
}
......
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