Skip to content

Commit e54068e

Browse files
author
Matthew Patton
committed
fix host_arg reference to options struct
1 parent 5423cc8 commit e54068e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ main(int ac, char **av)
12161216
if (options.hostname != NULL) {
12171217
/* NB. Please keep in sync with readconf.c:match_cfg_line() */
12181218
cp = percent_expand(options.hostname,
1219-
"n", host_arg, (char *)NULL);
1219+
"n", options.host_arg, (char *)NULL);
12201220
free(host);
12211221
host = cp;
12221222
free(options.hostname);

0 commit comments

Comments
 (0)